Function form_urlencoded::parse[][src]

pub fn parse(input: &[u8]) -> Parse<'_>

Notable traits for Parse<'a>

impl<'a> Iterator for Parse<'a> type Item = (Cow<'a, str>, Cow<'a, str>);

Convert a byte string in the application/x-www-form-urlencoded syntax into a iterator of (name, value) pairs.

Use parse(input.as_bytes()) to parse a &str string.

The names and values are percent-decoded. For instance, %23first=%25try%25 will be converted to [("#first", "%try%")].