cartel v0.5.0 Cartel.Pusher.Wns
Microsoft WNS interface worker
Summary
Functions
Generate the registered process name for the requested app pusher
Sends the message via the specified worker process
Sends a push notification
Starts the pusher
Functions
Specs
name(String.t) :: atom
Generate the registered process name for the requested app pusher
Specs
push(pid, Cartel.Message.Wns.t) :: :ok | :error
Sends the message via the specified worker process
Specs
send(String.t, Cartel.Message.Wns.t, [String.t]) :: {:ok | :error}
Sends a push notification
appid
: target application identifier present inconfig.exs
message
: message structtokens
: list of device tokens
Specs
start_link(%{client_secret: String.t}) :: GenServer.on_start
Starts the pusher