DispatchInfo
Defined in: src/types.ts:262
Metadata passed to dispatch hooks before and after RPC method execution.
Properties
Section titled “Properties”authDomain?
Section titled “authDomain?”optional authDomain?: string;Defined in: src/types.ts:283
Authentication domain, empty string when anonymous.
authenticated?
Section titled “authenticated?”optional authenticated?: boolean;Defined in: src/types.ts:285
True when the call was authenticated.
cancelled?
Section titled “cancelled?”optional cancelled?: boolean;Defined in: src/types.ts:293
True when a stream was cancelled by the client.
optional kind?: TransportKind;Defined in: src/types.ts:273
Coarse transport identifier — pipe for stdio, http for fetch
handlers, unix for AF_UNIX.
method
Section titled “method”method: string;Defined in: src/types.ts:264
RPC method name.
methodType
Section titled “methodType”methodType: string;Defined in: src/types.ts:266
“unary” or “stream”.
principal?
Section titled “principal?”optional principal?: string;Defined in: src/types.ts:281
Authenticated principal, empty string when anonymous.
protocol?
Section titled “protocol?”optional protocol?: string;Defined in: src/types.ts:275
Logical service / protocol name.
protocolHash?
Section titled “protocolHash?”optional protocolHash?: string;Defined in: src/types.ts:277
SHA-256 hex of the canonical describe payload (always required in access log).
protocolVersion?
Section titled “protocolVersion?”optional protocolVersion?: string;Defined in: src/types.ts:279
Operator-supplied protocol-contract version label (optional).
remoteAddr?
Section titled “remoteAddr?”optional remoteAddr?: string;Defined in: src/types.ts:287
HTTP transport: remote IP:port.
requestData?
Section titled “requestData?”optional requestData?: Uint8Array<ArrayBufferLike>;Defined in: src/types.ts:289
Self-contained Arrow IPC stream of the request batch (unary + stream init only).
requestId
Section titled “requestId”requestId: string | null;Defined in: src/types.ts:270
Client-supplied request identifier, or null.
serverId
Section titled “serverId”serverId: string;Defined in: src/types.ts:268
Server identifier.
sessionAction?
Section titled “sessionAction?”optional sessionAction?: "none" | "resume" | "open" | "close";Defined in: src/types.ts:300
Sticky-session lifecycle action observed during dispatch — one of
"none" / "resume" / "open" / "close". Omitted when sticky is
disabled or the request never touched the sticky middleware.
sessionId?
Section titled “sessionId?”optional sessionId?: string;Defined in: src/types.ts:296
Sticky session ID (24-char hex). Present only when the request was bound to a sticky session or the method opened/closed one.
streamId?
Section titled “streamId?”optional streamId?: string;Defined in: src/types.ts:291
Stream lifecycle identifier (32-char lowercase hex); empty on unary.