Ada 2.9.0
Fast spec-compliant URL parser
|
#include <url_search_params.h>
Public Member Functions | |
url_search_params ()=default | |
url_search_params (const std::string_view input) | |
url_search_params (const url_search_params &u)=default | |
url_search_params (url_search_params &&u) noexcept=default | |
url_search_params & | operator= (url_search_params &&u) noexcept=default |
url_search_params & | operator= (const url_search_params &u)=default |
~url_search_params ()=default | |
size_t | size () const noexcept |
void | append (std::string_view key, std::string_view value) |
void | remove (std::string_view key) |
void | remove (std::string_view key, std::string_view value) |
std::optional< std::string_view > | get (std::string_view key) |
std::vector< std::string > | get_all (std::string_view key) |
bool | has (std::string_view key) noexcept |
bool | has (std::string_view key, std::string_view value) noexcept |
void | set (std::string_view key, std::string_view value) |
void | sort () |
std::string | to_string () const |
url_search_params_keys_iter | get_keys () |
url_search_params_values_iter | get_values () |
url_search_params_entries_iter | get_entries () |
auto | begin () const |
auto | end () const |
auto | front () const |
auto | back () const |
auto | operator[] (size_t index) const |
url_search_params ()=default | |
url_search_params (const std::string_view input) | |
url_search_params (const url_search_params &u)=default | |
url_search_params (url_search_params &&u) noexcept=default | |
url_search_params & | operator= (url_search_params &&u) noexcept=default |
url_search_params & | operator= (const url_search_params &u)=default |
~url_search_params ()=default | |
size_t | size () const noexcept |
void | append (std::string_view key, std::string_view value) |
void | remove (std::string_view key) |
void | remove (std::string_view key, std::string_view value) |
std::optional< std::string_view > | get (std::string_view key) |
std::vector< std::string > | get_all (std::string_view key) |
bool | has (std::string_view key) noexcept |
bool | has (std::string_view key, std::string_view value) noexcept |
void | set (std::string_view key, std::string_view value) |
void | sort () |
std::string | to_string () const |
url_search_params_keys_iter | get_keys () |
url_search_params_values_iter | get_values () |
url_search_params_entries_iter | get_entries () |
auto | begin () const |
auto | end () const |
auto | front () const |
auto | back () const |
auto | operator[] (size_t index) const |
Friends | |
template<typename T , url_search_params_iter_type Type> | |
struct | url_search_params_iter |
template<typename T , url_search_params_iter_type Type> | |
struct | url_search_params_iter |
|
default |
|
inline |
Definition at line 45 of file url_search_params.h.
|
default |
|
defaultnoexcept |
|
default |
|
default |
|
inline |
|
default |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 70 of file url_search_params-inl.h.
|
inline |
|
inline |
Definition at line 130 of file url_search_params.h.
|
inline |
C++ style conventional iterator support. const only because we do not really want the params to be modified via the iterator.
Definition at line 127 of file url_search_params.h.
|
inline |
|
inline |
Definition at line 128 of file url_search_params.h.
|
inline |
Definition at line 129 of file url_search_params.h.
|
inline |
Definition at line 77 of file url_search_params-inl.h.
|
inline |
|
inline |
Definition at line 89 of file url_search_params-inl.h.
|
inline |
|
inline |
Returns a simple JS-style iterator over all of the entries in this url_search_params. The entries are pairs of keys and corresponding values. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
Definition at line 191 of file url_search_params-inl.h.
|
inline |
Returns a simple JS-style iterator over all of the entries in this url_search_params. The entries are pairs of keys and corresponding values. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
|
inline |
Returns a simple JS-style iterator over all of the keys in this url_search_params. The keys in the iterator are not unique. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
Definition at line 177 of file url_search_params-inl.h.
|
inline |
Returns a simple JS-style iterator over all of the keys in this url_search_params. The keys in the iterator are not unique. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
|
inline |
Returns a simple JS-style iterator over all of the values in this url_search_params. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
Definition at line 184 of file url_search_params-inl.h.
|
inline |
Returns a simple JS-style iterator over all of the values in this url_search_params. The valid lifespan of the iterator is tied to the url_search_params. The iterator must be freed when you're done with it.
|
inlinenoexcept |
Definition at line 102 of file url_search_params-inl.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 108 of file url_search_params-inl.h.
|
inlinenoexcept |
|
default |
|
default |
|
defaultnoexcept |
|
defaultnoexcept |
|
inline |
Definition at line 131 of file url_search_params.h.
|
inline |
|
inline |
Definition at line 153 of file url_search_params-inl.h.
|
inline |
|
inline |
Definition at line 160 of file url_search_params-inl.h.
|
inline |
|
inline |
Definition at line 138 of file url_search_params-inl.h.
|
inline |
|
inlinenodiscardnoexcept |
Definition at line 75 of file url_search_params-inl.h.
|
inlinenodiscardnoexcept |
|
inline |
Definition at line 170 of file url_search_params-inl.h.
|
inline |
|
inline |
Definition at line 117 of file url_search_params-inl.h.
References ada::character_sets::WWW_FORM_URLENCODED_PERCENT_ENCODE.
|
inline |
|
friend |
Definition at line 151 of file url_search_params.h.
|
friend |