Skip to main content

stream

Function stream 

Source
fn stream(file: File, first: u64, count: u64) -> Result<Body>
Expand description

count bytes of file from first, read a chunk at a time as the client takes them, so that memory does not grow with the file’s size.