webhookMiddleware
@rotorsoft/act-root / act-http/src/receiver/hono / webhookMiddleware
Function: webhookMiddleware()
webhookMiddleware(
options):MiddlewareHandler<{Variables:WebhookVariables; }>
Defined in: libs/act-http/src/receiver/hono/index.ts:56
Build a Hono middleware that verifies the request signature (when
secret is set), enforces Idempotency-Key, and claims the key
on the configured store. See the module-level docs for usage.
Parametersโ
optionsโ
Returnsโ
MiddlewareHandler<{ Variables: WebhookVariables; }>