Skip to main content

Module webhook

Module webhook 

Source

Structs§

VerifyOptions
Options for verify_webhook.
WebhookPayload
A verified, parsed webhook request.

Constants§

DEFAULT_TOLERANCE_SECONDS
Default max age of the signed timestamp (x-wi-timestamp), in seconds: 5 minutes.

Functions§

parse_event
Parse raw webhook body bytes into an Event.
verify_signature
Verify the legacy body-only HMAC-SHA256 signature on a webhook payload (no replay protection). Prefer verify_webhook.
verify_webhook
Verify a webhook delivery with replay protection.