webhookMiddleware
@rotorsoft/act-root / act-http/src/receiver/fastify / webhookMiddleware
Function: webhookMiddleware()
webhookMiddleware(
options): (request,reply) =>Promise<void>
Defined in: libs/act-http/src/receiver/fastify/index.ts:60
Build a Fastify preHandler hook 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โ
(request, reply) => Promise<void>