Skip to main content

get_req_header_value

Function get_req_header_value 

Source
pub fn get_req_header_value<'a>(
    req_header: &'a RequestHeader,
    key: &str,
) -> Option<&'a str>
Expand description

A convenient helper to get a header value as a &str from a RequestHeader.