RESTinio
Classes | Namespaces | Typedefs | Functions
uri_helpers.hpp File Reference
#include <string>
#include <unordered_map>
#include <fmt/format.h>
#include <fmt/ostream.h>
#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...
 

Namespaces

 restinio
 
 restinio::impl
 
 restinio::parse_query_traits
 

Typedefs

using restinio::parse_query_traits::restinio_defaults = restinio::utils::restinio_default_unescape_traits
 Traits for the default RESTinio parser for query string. More...
 
using restinio::parse_query_traits::javascript_compatible = restinio::utils::javascript_compatible_unescape_traits
 Traits for parsing a query string in JavaScript-compatible mode. More...
 

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 = parse_query_traits::restinio_defaults>
query_string_params_t restinio::parse_query (string_view_t original_query_string)
 Parse query key-value parts. More...