std::net::url

Public

Types

NameDescription
UrlEncodingMode
UrlQueryValues
UrlRepresents the actual (decoded) Url....

Functions

NameDescription
url::parse_queryParse the query parameters of the Url into a UrlQueryValues map.
url::parse_query_to_tempParse the query parameters of the Url into a UrlQueryValues map.
url::parseParse a URL string into a Url struct.
url::free
url::to_format
url::tencodeEncode string s for a given encoding mode, stored on the temp allocator.
url::to_string
url::tparseParse a URL string into a Url struct.
url::decode_lenCalculate the length of the percent-decoded string.
url::addAdd copies of the key and value strings to the UrlQueryValues map. These...
url::encode_lenCalculate the length of the percent-encoded string.
url::decodeDecode string s for a given encoding mode....
url::encodeEncode the string s for a given encoding mode....
url::tdecodeDecode string s for a given encoding mode, stored on the temp allocator.

Private

Functions

NameDescription
url::should_encodeReturns true if char c should be encoded according to RFC 3986.