pub fn create_chunked_stream<R>(
initial_buffer: Vec<u8>,
reader: R,
config: &StreamingBodyConfig,
) -> BodyExpand description
Create a streaming body from a chunked transfer-encoded body.
Returns a fastapi_core::Body::Stream that yields decoded chunks.
ยงArguments
initial_buffer- Any bytes already buffered by the parserreader- The async reader for remaining bytesconfig- Streaming configuration