pub async fn parse_request<S>(stream: S) -> ParseResult<Request<BodyReader>>where S: AsyncRead + Unpin + Send + 'static,
Helper function to help parsing stream into Request instance.
Request
See new_with for more information.
new_with