Crate form_urlencoded

Source
Expand description

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

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

Structsยง

ByteSerialize
Return value of byte_serialize().
Parse
The return type of parse().
ParseIntoOwned
Like Parse, but yields pairs of String instead of pairs of Cow<str>.
Serializer
The application/x-www-form-urlencoded serializer.

Traitsยง

Target

Functionsยง

append_encoded ๐Ÿ”’
append_key_only ๐Ÿ”’
append_pair ๐Ÿ”’
append_separator_if_needed ๐Ÿ”’
byte_serialize
The application/x-www-form-urlencoded byte serializer.
byte_serialized_unchanged ๐Ÿ”’
decode ๐Ÿ”’
decode_utf8_lossy ๐Ÿ”’
encode ๐Ÿ”’
parse
Convert a byte string in the application/x-www-form-urlencoded syntax into a iterator of (name, value) pairs.
replace_plus ๐Ÿ”’
Replace bโ€™+โ€™ with bโ€™ โ€™
string ๐Ÿ”’

Type Aliasesยง

EncodingOverride