Modules§
- engine
- Provides the Engine abstraction and out of the box implementations.
- request_
builder - Functions used to send and consume push http messages. This module can be used to build custom clients.
Macros§
Structs§
- Partial
Vapid Signature Builder - A
VapidSignatureBuilderwithout VAPID subscription info. - Reqwest
WebPush Client - An async client for sending the notification payload.
- Subscription
Info - Client info for sending the notification. Maps the values from browser’s subscription info JSON data (AKA pushSubscription object).
- Subscription
Keys - Encryption keys from the client.
- Vapid
Signature - A struct representing a VAPID signature. Should be generated using the VapidSignatureBuilder.
- Vapid
Signature Builder - A VAPID signature builder for generating an optional signature to the request. This encryption is required for payloads in all current and future browsers.
- WebPush
Message - Everything needed to send a push notification to the user.
- WebPush
Message Builder - The main class for creating a notification payload.
- WebPush
Payload - The push content payload, already in an encrypted form.
Enums§
- Content
Encoding - Content encoding profiles.
- Urgency
- WebPush
Error
Traits§
- Engine
- An
Engineprovides low-level encoding and decoding operations that all other higher-level parts of the API use. Users of the library will generally not need to implement this. - WebPush
Client - An async client for sending the notification payload. Other features, such as thread safety, may vary by implementation.