Skip to main content

http_get

Function http_get 

Source
fn http_get(
    stream: &mut dyn ReadWriteStream,
    host: &str,
    path: &str,
) -> Result<Vec<u8>, RError>
Expand description

Perform an HTTP GET request on the given stream, returning the response body as bytes.