pushex v0.2.3 Pushex.GCM.Client behaviour View Source

Module defining the behaviour to send requests to GCM.

The behaviour can be changed by setting the :client_impl module under the configuration pushex: :gcm key

Link to this section Summary

Link to this section Functions

Link to this function

send_notification(notification)

View Source

Link to this section Callbacks

Link to this callback

send_notification(notification)

View Source
send_notification(notification :: Pushex.GCM.Request.t()) ::
  {:ok, Pushex.GCM.Response.t()} | {:error, Pushex.GCM.HTTPError.t()}