Function get_request_data

Source
pub async fn get_request_data<R>(
    buf: &mut Vec<u8>,
    con: R,
) -> Result<(), RequestError>
where R: AsyncRead + Unpin,
Expand description

reads the entire request into the provided buffer