Express v1.0.0 API Reference
Modules
Defines the interface of Express pusher for certain provider (APNS, FCM)
APNS pusher. Conforms Express behaviour
Defines APNS push message structure
Defines APNS push message alert structure
Defines APNS push message aps structure
Provides APNS SSL configuration constructor
APNS supervisor which owns a connection, spawns workers and sends push messages via workers
Incapsulates work with APNS logic. Exists temporary: until work with APNS finished
Defines APNS worker state structure
Sets up Express’s supervision tree
FCM pusher. Conforms Express behaviour
Defines FCM push message structure
Defines FCM push message’s notification structure
FCM supervisor which spawns workers and sends push messages via workers
Incapsulates work with FCM logic. Exists temporary: until work with FCM finished
Specifies FCM worker state structure
Module with functions for establishing and working with HTTP2-connection
HTTP2-client which conforms Express.Network.HTTP2.Client behaviour with chatterbox library
HTTP2-clients behaviour
Specifies HTTP2 connection’s structure, where:
client
- client that serves a connectionprovider
- push provider (:apns or :fcm)socket
- opened socketssl_config
- SSL configuration
Specifies a behaviour and SSL configuration structure, where:
mode
- either :dev or :prodcert
- SSL certificatekey
- RSA key
Sends push_message synchronously to APNS. Invokes callback_fun function after response receive
Establishes HTTP2 connection and returns it
Sends push_message synchronously to FCM. Invokes callback_fun function after response receive
Sends a message to the Logger