Skip to main content

webhookMiddleware

@rotorsoft/act-root


@rotorsoft/act-root / act-http/src/receiver/express / webhookMiddleware

Function: webhookMiddleware()

webhookMiddleware(options): RequestHandler

Defined in: libs/act-http/src/receiver/express/index.ts:51

Build an Express 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โ€‹

RequestHandler