Skip to main content

request_stream

Function request_stream 

Source
pub fn request_stream(
    root: &Path,
    req: &Request,
    sink: &mut impl Write,
) -> Result<usize>
Expand description

Send one request to the daemon for root (spawning it if needed), streaming the response to sink. Returns the total number of bytes written.