RESTinio
List of all members
restinio::parse_query_traits::x_www_form_urlencoded Struct Reference

Traits for parsing a query string in application/x-www-form-urlencoded mode. More...

#include <uri_helpers.hpp>

Inheritance diagram for restinio::parse_query_traits::x_www_form_urlencoded:
restinio::utils::x_www_form_urlencoded_unescape_traits restinio::parse_query_traits::details::ampersand_only_as_separators

Additional Inherited Members

- Static Public Member Functions inherited from restinio::utils::x_www_form_urlencoded_unescape_traits
static constexpr bool ordinary_char (char c) noexcept
 
- Static Public Member Functions inherited from restinio::parse_query_traits::details::ampersand_only_as_separators
static string_view_t::size_type find_next_separator (string_view_t where, string_view_t::size_type start_from) noexcept
 

Detailed Description

Traits for parsing a query string in application/x-www-form-urlencoded mode.

In that mode:

Reference for more details: https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer

Usage example:

auto result = restinio::parse_query<restinio::parse_query_traits::x_www_form_urlencoded>("name=A*");
Since
v.0.6.5
Examples
sample/try_parse_query_string/main.cpp.

Definition at line 289 of file uri_helpers.hpp.


The documentation for this struct was generated from the following file: