Skip to main content

Module stream

Module stream 

Source
Expand description

NDJSON streaming RPC responses (stream methods at the HTTP edge).

Structs§

RpcStreamChunk
One NDJSON line in a stream RPC response.

Functions§

encode_stream_chunk
Serialize one stream chunk as an NDJSON line (including trailing newline).