API Reference web_push v#0.1.0

Copy Markdown View Source

Modules

Web Push sender: encrypts a JSON payload with aes128gcm (WebPush.Encryption), signs a VAPID JWT (WebPush.Vapid), and POSTs the binary body to the subscription's push service endpoint via Finch.

aes128gcm content encoding (RFC 8188) layered over the Web Push message encryption (RFC 8291).

A browser push subscription: the endpoint plus its encryption keys.

VAPID (RFC 8292) JWT signing for Web Push authentication.

Mix Tasks

Generates a VAPID (P-256) keypair for Web Push.