メインコンテンツまでスキップ

Interface: PluginRuntimeRpcResponseStreamHeader

Defined in: packages/contracts/src/pluginRuntime.ts:1031

§17 credit streams: routing header of one RPC_RESPONSE_STREAM chunk. Rides in the frame payload as JSON.stringify(this) + '\x00' + chunkBytes; the raw NUL is an unambiguous separator because JSON text can never contain a raw NUL byte (control characters must be escaped as \u0000). seq is zero-based and must be contiguous; the last chunk sets final: true.

Properties

final

final: boolean

Defined in: packages/contracts/src/pluginRuntime.ts:1034


requestId

requestId: string

Defined in: packages/contracts/src/pluginRuntime.ts:1032


seq

seq: number

Defined in: packages/contracts/src/pluginRuntime.ts:1033