Skip to main content

Module send

Module send 

Source
Expand description

Web Push notification sending

Implements RFC 8030 (HTTP/2 Push), RFC 8188 (Encrypted Content-Encoding), RFC 8291 (Message Encryption for Web Push), and RFC 8292 (VAPID).

Structs§

NotificationPayload
Notification payload to send to the client

Enums§

PushResult
Result of sending a push notification

Functions§

send_notification
Send a push notification to a subscription
send_to_tenant
Send notification to all subscriptions for a tenant