isDebugRequested
isDebugRequested(
c):boolean
Defined in: src/policies/sdk/helpers.ts:244
Check whether the client requested debug output via the x-stoma-debug header.
Returns true when any debug header names were requested (i.e. the
_stomaDebugRequested context key is a non-empty Set).
Parameters
Section titled “Parameters”Context
Hono request context.
Returns
Section titled “Returns”boolean
true if the client sent a valid x-stoma-debug request header.