Skip to main content

write_stream_response

Function write_stream_response 

Source
fn write_stream_response<W: Write>(
    stream: &mut W,
    response: &StreamResponse,
    method: &str,
)
Expand description

Copies one selected file range to an accepted connection with a fixed-size buffer.