http_read_from_stream_response

Function http_read_from_stream_response 

Source
pub(super) async fn http_read_from_stream_response(
    reader: &mut BufReader<ReadHalf<Box<dyn PtStream>>>,
    buf: &mut Vec<u8>,
) -> Result<usize>
Expand description

Internal read function that reads from the active stream into a buffer. Performs HTTP POST response parsing. Returns the response body length.