ExFirebase v0.3.1 ExFirebase.Messaging.API behaviour View Source

HTTP request interface for messaging modules

Link to this section Summary

Link to this section Functions

Link to this function send(payload, access_token) View Source
send(map(), String.t()) ::
  {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()}

Link to this section Callbacks

Link to this callback send(body, access_token) View Source
send(body :: map(), access_token :: String.t()) ::
  {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()}