pub fn streaming_response<S, E>(
status: StatusCode,
content_type: impl Into<String>,
stream: S,
) -> HttpResponseExpand description
Builds a chunked response whose stream items are explicit flush opportunities.
Actix forwards each yielded Bytes value as a body chunk. The anti-buffering headers keep
common reverse proxies from coalescing those chunks indefinitely.