Pigeon v1.6.1 Pigeon.FCM.Config View Source

FCM Configuration for Pigeon

Link to this section Summary

Functions

Returns a new FCM.Config with given opts.

Link to this section Types

Link to this type

t()

View Source
t() :: %Pigeon.FCM.Config{
  key: binary(),
  name: term(),
  port: pos_integer(),
  uri: charlist()
}

Link to this section Functions

Returns a new FCM.Config with given opts.

Examples

iex> Pigeon.FCM.Config.new(
...>   name: :test,
...>   key: "fcm_key",
...>   uri: 'test.server.example.com',
...>   port: 5228
...> )
%Pigeon.FCM.Config{key: "fcm_key", name: :test,
port: 5228, uri: 'test.server.example.com'}