Liking cljdoc? Tell your friends :D

boundary.push.core.delivery


build-apns-payloadclj

(build-apns-payload notification)

Pure: transform rendered notification into APNs payload.

Pure: transform rendered notification into APNs payload.
sourceraw docstring

build-fcm-payloadclj

(build-fcm-payload notification device-token)

Pure: transform rendered notification into FCM v1 API payload.

Pure: transform rendered notification into FCM v1 API payload.
sourceraw docstring

classify-errorclj

(classify-error platform error-code)

Pure: classify provider error code into action category.

Pure: classify provider error code into action category.
sourceraw docstring

group-devices-by-platformclj

(group-devices-by-platform devices)

Group devices by :platform key.

Group devices by :platform key.
sourceraw docstring

result->analytics-eventclj

(result->analytics-event notification-id
                         {:keys [device-token platform success? message-id
                                 error]}
                         timestamp)

Pure: transform provider send result into analytics event map. Caller supplies timestamp.

Pure: transform provider send result into analytics event map. Caller supplies timestamp.
sourceraw docstring

retry-delay-msclj

(retry-delay-ms retry-config attempt)

Pure: calculate backoff delay in ms for attempt n.

Pure: calculate backoff delay in ms for attempt n.
sourceraw docstring

stringify-valuesclj

(stringify-values m)

Convert map keys to strings, values to strings. FCM data field requires string values.

Convert map keys to strings, values to strings. FCM data field requires string values.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close