Function get_query_value

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

Gets query parameter value from request header.

§Arguments

  • req_header - The HTTP request header
  • name - Name of the query parameter to find

§Returns

The parameter value as a string slice if found, None otherwise