|
RESTinio
|
A router based on easy_parser. More...
#include <restinio/router/impl/target_path_holder.hpp>#include <restinio/router/non_matched_request_handler.hpp>#include <restinio/router/method_matcher.hpp>#include <restinio/helpers/easy_parser.hpp>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | restinio |
| namespace | restinio::router |
| namespace | restinio::router::easy_parser_router |
| namespace | restinio::router::easy_parser_router::impl |
| namespace | restinio::router::easy_parser_router::impl::dsl_details |
| namespace | restinio::router::easy_parser_router::impl::path_to_params_details |
Typedefs | |
| using | restinio::router::easy_parser_router::impl::target_path_holder_t = restinio::router::impl::target_path_holder_t |
| template<typename Extra_Data> | |
| using | restinio::router::easy_parser_router::impl::router_entry_unique_ptr_t |
| An alias for unique_ptr of router_entry. | |
| template<typename Args_Type_List> | |
| using | restinio::router::easy_parser_router::impl::dsl_details::detect_result_tuple_t = typename detect_result_tuple<Args_Type_List>::type |
| template<typename Args_Type_List> | |
| using | restinio::router::easy_parser_router::impl::dsl_details::make_clauses_types_t = typename make_clauses_types<Args_Type_List>::type |
| using | restinio::router::easy_parser_router_t |
| A request router that uses easy_parser for matching requests with handlers. | |
Functions | |
| template<typename F, typename Extra_Data, typename Tuple, std::size_t... Indexes> | |
| decltype(auto) | restinio::router::easy_parser_router::impl::path_to_params_details::call_with_tuple_impl (F &&what, const generic_request_handle_t< Extra_Data > &req, Tuple &¶ms, std::index_sequence< Indexes... >) |
| template<typename F, typename Extra_Data, typename Tuple> | |
| decltype(auto) | restinio::router::easy_parser_router::impl::path_to_params_details::call_with_tuple (F &&what, const generic_request_handle_t< Extra_Data > &req, Tuple &¶ms) |
| A helper function to call a request-handler with a tuple. | |
| template<typename... Args> | |
| auto | restinio::router::easy_parser_router::path_to_tuple (Args &&...args) |
| Describe a route for a handler that accepts params from the route in form of a tuple. | |
| template<typename... Args> | |
| auto | restinio::router::easy_parser_router::path_to_params (Args &&...args) |
| Describe a route for a handler that accepts params from the route in form of a list of separate arguments. | |
| auto | restinio::router::easy_parser_router::path_fragment_p (char separator='/') |
| A factory that creates a string-producer that extracts a sequence on symbols until the separator will be found. | |
| template<typename Unescape_Traits = restinio::utils::restinio_default_unescape_traits> | |
| auto | restinio::router::easy_parser_router::unescape () |
| A factory for unescape_transformer. | |