View Source Pigeon.FCM.Config (Pigeon v1.6.3)

FCM Configuration for Pigeon

Summary

Functions

Returns a new FCM.Config with given opts.

Types

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

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'}