Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/server / / ServerRequestState
Interface: ServerRequestState
Defined in: packages/server/src/internal/context.ts:39
Request-scoped variables surfaced through c.var in Hono. The server's middleware populates these fields incrementally; route handlers consume them through getRequestState.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
auth | readonly | AuthState | packages/server/src/internal/context.ts:43 |
clientIp | readonly | string | undefined | packages/server/src/internal/context.ts:42 |
idempotencyKey? | readonly | string | packages/server/src/internal/context.ts:44 |
idempotencyReplay? | readonly | boolean | packages/server/src/internal/context.ts:45 |
receivedAt | readonly | number | packages/server/src/internal/context.ts:41 |
requestId | readonly | string | packages/server/src/internal/context.ts:40 |