parse_request

Function parse_request 

Source
pub async fn parse_request<S>(stream: S) -> ParseResult<Request<BodyReader>>
where S: AsyncRead + Unpin + Send + 'static,
Expand description

Helper function to help parsing stream into Request instance.

See new_with for more information.