Skip to content

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).

Context

Hono request context.

boolean

true if the client sent a valid x-stoma-debug request header.