Crate apns2

Source

Structs§

AlertPayload
Alert content for a notification.
ApnsSync
CollapseId
Wrapper type for collapse ids. It may be an arbitrary string, but is limited in length to at most 63 bytes.
CollapseIdTooLongError
Notification
A notification struct contains all relevant data for a notification request sent to the APNS API. This includes other options not contained in the payload. These options are transferred with HTTP request headers.
NotificationBuilder
A builder for convenient construction of notifications.
Payload
ProviderCertificate

Enums§

Alert
The alert content. This can either be a plain message string, or an AlertPayload with more configuration.
Auth
Priority
Notification priority. See APNS documentation for the effects.

Statics§

APN_URL_DEV
APNS development endpoint.
APN_URL_PRODUCTION
APNS production endpoint.