Cloudflare starter module
Edge webhooks
Verifies signed webhook requests at the edge and processes repeat deliveries safely.
- Files
- 2
- Lines
- 153
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/webhooks/route.ts
Verifies, claims, and dispatches signed webhook events exactly once.
TypeScript
77 lines
src/webhooks/verify-signature.ts
Verifies timestamped HMAC-SHA256 webhook signatures with Web Crypto.
TypeScript
76 lines