Expand description
Streaming response support
This module provides functionality to stream large JSON responses instead of loading them entirely into memory.
Structs§
- Json
Array Stream - A stream that yields JSON array elements one at a time.
Functions§
- should_
stream - Check if a response body should be streamed based on size and configuration.
- stream_
json_ array - Stream a JSON array by parsing the body string and streaming it chunk by chunk.
- stream_
json_ array_ from_ values - Stream a vector of JSON values as a JSON array.
- stream_
json_ response - Stream a JSON array response with proper formatting.