pub fn parse_request_consuming(
bytes: &[u8],
) -> Result<(HttpRequest, usize), ParseError>Expand description
parse_request plus the number of bytes the request occupied — the
keep-alive keystone: a persistent connection drains exactly consumed
bytes and keeps the remainder (a pipelined next request) buffered.