Module url::form_urlencoded [-]  [+] [src]

Parser and serializer for the application/x-www-form-urlencoded format, as used by HTML forms.

Converts between a string (such as an URL’s query string) and a sequence of (name, value) pairs.

Functions

parse

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

serialize

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

serialize_owned

Convert a slice of owned (name, value) pairs into a string in the application/x-www-form-urlencoded format.