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).
pub fn stream_to_nonstream(
protocol: ProtocolKind,
chunks: &[&[u8]],
) -> Result<Vec<u8>, TransformError>Convert stream events (NDJSON lines) to a non-streaming response (same protocol).