Skip to main content

parse_response_status

Function parse_response_status 

Source
pub fn parse_response_status(buf: &[u8]) -> u16
Expand description

Extract the status code from the first line of an HTTP response.