Skip to main content

parse_query_string

Function parse_query_string 

Source
pub fn parse_query_string(s: &str) -> HashMap<String, String>
Expand description

Parse a query string (or form-encoded body) into key-value pairs.

Handles URL-decoding of both keys and values.