Skip to main content

parse_request_line

Function parse_request_line 

Source
pub fn parse_request_line(buf: &[u8]) -> (String, String)
Expand description

Try to extract method and path from the first line of an HTTP request.