Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / / ServerRequestState
Interface: ServerRequestState
Defined in: packages/server/src/internal/context.ts:31
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:35 |
clientIp | readonly | string | undefined | packages/server/src/internal/context.ts:34 |
idempotencyKey? | readonly | string | packages/server/src/internal/context.ts:36 |
idempotencyReplay? | readonly | boolean | packages/server/src/internal/context.ts:37 |
receivedAt | readonly | number | packages/server/src/internal/context.ts:33 |
requestId | readonly | string | packages/server/src/internal/context.ts:32 |