Function rocket::http::hyper::h1::parse_request [−][src]
pub fn parse_request<R>(
buf: &mut BufReader<R>
) -> Result<Incoming<(Method, RequestUri)>, Error> where
R: Read,
Expand description
Parses a request into an Incoming message head.