Crate url_search_params
source ·Expand description
url search params
url-search-params
provides the ability to create search params from HashMap and vice versa.
In url (web address) search params correspond to query string.
Keep in mind it works with the query string part of the URL, it is not intended to work on the whole URL by design.
As per specification, the question mark ?
URL delimiter is not part of a query string.
Also hash mark #
url delimiter and fragment part of URL is not the parts of a query string.
In practice, it means, the fragment and preceding hash mark won’t be sent in a request to a server.
Structs
Constants
Functions
- Convert given HashMap into a query string
- Convert given string into a HashMap containing query string parameters as key-value pairs