Skip to main content

Module client

Module client 

Source

Structsยง

FcmClient
Holds application-specific Firebase data and authentication. This client handles sending notifications to Firebase.
FcmErrorResponse ๐Ÿ”’
Response message from FCM in the case of an error.
FcmResponse ๐Ÿ”’

Constantsยง

MAX_RETRY_AFTER_SECS ๐Ÿ”’
MIN_RETRY_AFTER_SECS ๐Ÿ”’
OAUTH_SCOPES ๐Ÿ”’

Functionsยง

parse_retry_after ๐Ÿ”’
Parse an upstream Retry-After into delta-seconds. Accepts delta-seconds or an HTTP-date.