Crate apns2 [−] [src]
Alert content for a notification.
Wrapper type for collapse ids. It may be an arbitrary string, but is limited in length to at most 63 bytes.
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.
A builder for convenient construction of notifications.
The alert content. This can either be a plain message string, or an AlertPayload with more configuration.
Notification priority. See APNS documentation for the effects.
APNS development endpoint.
APNS production endpoint.