Skip to main content

webhookMiddleware

@rotorsoft/act-root


@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โ€‹

CheckWebhookOptions

Returnsโ€‹

MiddlewareHandler<{ Variables: WebhookVariables; }>