RESTinio

Classes | Namespaces | Functions
uri_helpers.hpp File Reference
`#include <string>`
`#include <unordered_map>`
`#include <restinio/impl/include_fmtlib.hpp>`
`#include <restinio/exception.hpp>`
`#include <restinio/utils/percent_encoding.hpp>`
`#include <restinio/optional.hpp>`

Go to the source code of this file.

## Classes
class | restinio::query_string_params_t
| Parameters container for query strings parameters. More...
struct | restinio::parse_query_traits::details::ampersand_and_semicolon_as_separators
| Helper class to be reused in implementation of query-string parsing traits. More...
struct | restinio::parse_query_traits::details::ampersand_only_as_separators
| Helper class to be reused in implementation of query-string parsing traits. More...
struct | restinio::parse_query_traits::restinio_defaults
| Traits for the default RESTinio parser for query string. More...
struct | restinio::parse_query_traits::javascript_compatible
| Traits for parsing a query string in JavaScript-compatible mode. More...
struct | restinio::parse_query_traits::x_www_form_urlencoded
| Traits for parsing a query string in application/x-www-form-urlencoded mode. More...
struct | restinio::parse_query_traits::relaxed
| Traits for parsing a query string in a very relaxed mode. More...
class | restinio::parse_query_failure_t
| Type that indicates a failure of an attempt of query-string parsing. More...

## Namespaces
namespace | restinio
namespace | restinio::impl
namespace | restinio::parse_query_traits
namespace | restinio::parse_query_traits::details

## Functions
const char * | restinio::impl::modified_memchr (int chr, const char *from, const char *to)
template<typename Value_Type >
Value_Type | restinio::get (const query_string_params_t &params, string_view_t key)
| Cast query string parameter to a given type. More...
template<typename Parse_Traits >
RESTINIO_NODISCARD expected_t< query_string_params_t, parse_query_failure_t > | restinio::try_parse_query (string_view_t original_query_string)
| Helper function for parsing query string. More...
template<typename Parse_Traits = parse_query_traits::restinio_defaults>
RESTINIO_NODISCARD query_string_params_t | restinio::parse_query (string_view_t original_query_string)
| Parse query key-value parts. More...