Function url::form_urlencoded::serialize
[-]
[+]
[src]
pub fn serialize<'a, I: Iterator<(&'a str, &'a str)>>(pairs: I, encoding_override: Option<EncodingRef>) -> String
Convert an iterator of (name, value) pairs
into a string in the application/x-www-form-urlencoded
format.
Arguments:
encoding_override
: The character encoding each name and values is encoded as before percent-encoding. Defaults to UTF-8.