RESTinio
|
A single generic express route entry. More...
#include <express.hpp>
Public Types | |
using | actual_request_handler_t |
using | actual_request_handle_t |
Private Types | |
using | matcher_init_data_t |
Private Member Functions | |
template<typename Method_Matcher > | |
generic_express_route_entry_t (Method_Matcher &&method_matcher, matcher_init_data_t matcher_data, actual_request_handler_t handler) | |
Private Attributes | |
impl::route_matcher_t< Regex_Engine > | m_matcher |
actual_request_handler_t | m_handler |
A single generic express route entry.
Might be helpful for use without express_router_t, if only a single route is needed. It gives the same help with route parameters.
Definition at line 475 of file express.hpp.
using restinio::router::generic_express_route_entry_t< Regex_Engine, Extra_Data_Factory >::actual_request_handle_t |
Definition at line 481 of file express.hpp.
using restinio::router::generic_express_route_entry_t< Regex_Engine, Extra_Data_Factory >::actual_request_handler_t |
Definition at line 478 of file express.hpp.
|
private |
Definition at line 486 of file express.hpp.
|
inlineprivate |
Definition at line 492 of file express.hpp.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 518 of file express.hpp.
|
inline |
Definition at line 532 of file express.hpp.
|
inline |
Calls a handler of given request with given params.
Definition at line 558 of file express.hpp.
|
inline |
Checks if request header matches entry, and if so, set route params.
Definition at line 547 of file express.hpp.
|
default |
|
private |
Definition at line 565 of file express.hpp.
|
private |
Definition at line 564 of file express.hpp.