Skip to main content

Module stream

Module stream 

Source
Expand description

The out-of-band streaming response body.

A streaming body cannot live on Context as an ordinary field: Context is Serialize/Deserialize because it marshals into Lua scripts and into debug trace snapshots. The handle is therefore #[serde(skip)], the same way the WebSocket upgrade handle is carried out-of-band by the listener.

Structsยง

ResponseStream
An upstream response body being relayed to the client unbuffered, plus any guards whose lifetime must match the stream rather than the node that produced it (balancer in-flight counters, limit-conn permits).