X402InnerHandler
X402InnerHandler = (
request,context) =>Promise<Response> |Response
Defined in: src/x402/server.ts:76
The inner business-logic handler. Receives the same Request plus a context
that is present when a payment was made for this request, and null
otherwise (pass-through case).
Parameters
request
Request
context
X402HandlerContext | null
Returns
Promise<Response> | Response