http_read_from_stream_request

Function http_read_from_stream_request 

Source
pub(super) async fn http_read_from_stream_request(
    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 request parsing. Returns the request body length.