RESTinio
|
Namespaces | |
easy_parser_router | |
impl | |
pcre2_details | |
pcre_details | |
Classes | |
struct | boost_regex_engine_t |
Regex engine implementation for using with standard regex implementation. More... | |
class | dynamic_any_of_methods_matcher_t |
An implementation of method_matcher that allows a method if it's found in a dynamic list of allowed methods. More... | |
class | dynamic_none_of_methods_matcher_t |
An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disabled methods. More... | |
class | easy_parser_router_t |
A request router that uses easy_parser for matching requests with handlers. More... | |
class | express_route_entry_t |
A single express route entry. More... | |
class | express_router_t |
Express.js style router. More... | |
struct | method_matcher_t |
An interface of method_matcher. More... | |
struct | pcre2_regex_engine_t |
Regex engine implementation for PCRE2. More... | |
struct | pcre2_traits_t |
PCRE traits. More... | |
struct | pcre_regex_engine_t |
Regex engine implementation for PCRE. More... | |
struct | pcre_traits_t |
PCRE traits. More... | |
class | route_params_t |
Parameters extracted from route. More... | |
struct | std_regex_engine_t |
Regex engine implementation for using with standard regex implementation. More... | |
Typedefs | |
using | express_request_handler_t = std::function< request_handling_status_t(request_handle_t, route_params_t) > |
using | non_matched_request_handler_t = std::function< request_handling_status_t(request_handle_t) > |
Functions | |
template<typename... Args> | |
RESTINIO_NODISCARD impl::fixed_size_any_of_matcher_t< sizeof...(Args) > | any_of_methods (Args &&...args) |
A factory function that creates a method_matcher that allows a method if it's found in the list of allowed methods. More... | |
template<typename... Args> | |
RESTINIO_NODISCARD impl::fixed_size_none_of_matcher_t< sizeof...(Args) > | none_of_methods (Args &&...args) |
A factory function that creates a method_matcher that allows a method if it isn't found in the list of disabled methods. More... | |
using restinio::router::express_request_handler_t = typedef std::function< request_handling_status_t( request_handle_t, route_params_t ) > |
Definition at line 423 of file express.hpp.
using restinio::router::non_matched_request_handler_t = typedef std::function< request_handling_status_t( request_handle_t ) > |
Definition at line 28 of file non_matched_request_handler.hpp.
RESTINIO_NODISCARD impl::fixed_size_any_of_matcher_t< sizeof...(Args) > restinio::router::any_of_methods | ( | Args &&... | args | ) |
A factory function that creates a method_matcher that allows a method if it's found in the list of allowed methods.
Usage example:
Definition at line 417 of file method_matcher.hpp.
RESTINIO_NODISCARD impl::fixed_size_none_of_matcher_t< sizeof...(Args) > restinio::router::none_of_methods | ( | Args &&... | args | ) |
A factory function that creates a method_matcher that allows a method if it isn't found in the list of disabled methods.
Usage example:
Definition at line 449 of file method_matcher.hpp.