pub fn nonstream_to_stream(
protocol: ProtocolKind,
body: &[u8],
out: &mut Vec<u8>,
) -> Result<(), TransformError>Expand description
Convert a non-streaming response to stream events (same protocol).
Output is NDJSON (one JSON line per event) written into out.