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

Module defining the behaviour to send requests to APNS..

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

Link to this section Summary

Link to this section Functions

Link to this function

send_notification(request)

View Source

Link to this section Callbacks

Link to this callback

send_notification(request)

View Source
send_notification(request :: Pushex.APNS.Request.t()) ::
  {:ok, Pushex.APNS.Response.t()} | {:error, Pushex.APNS.Reponse}