Skip to main content

stream_to_nonstream

Function stream_to_nonstream 

Source
pub fn stream_to_nonstream(
    protocol: ProtocolKind,
    chunks: &[&[u8]],
) -> Result<Vec<u8>, TransformError>
Expand description

Convert stream events (NDJSON lines) to a non-streaming response (same protocol).