|
RESTinio
|
A single express route entry. More...
#include <express.hpp>
Private Types | |
| using | matcher_init_data_t = path2regex::impl::route_regex_matcher_data_t< impl::route_params_appender_t, Regex_Engine > |
Private Member Functions | |
| express_route_entry_t (http_method_id_t method, matcher_init_data_t matcher_data, express_request_handler_t handler) | |
Private Attributes | |
| impl::route_matcher_t< Regex_Engine > | m_matcher |
| express_request_handler_t | m_handler |
A single 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 416 of file express.hpp.
|
private |
Definition at line 419 of file express.hpp.
|
inlineprivate |
Definition at line 420 of file express.hpp.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 441 of file express.hpp.
|
inline |
Definition at line 454 of file express.hpp.
|
inline |
Calls a handler of given request with given params.
Definition at line 475 of file express.hpp.
|
inline |
Checks if request header matches entry, and if so, set route params.
Definition at line 468 of file express.hpp.
|
delete |
|
default |
|
inline |
Try to match the entry and calls a handler with extracted params.
Definition at line 482 of file express.hpp.
|
private |
Definition at line 493 of file express.hpp.
|
private |
Definition at line 492 of file express.hpp.
1.8.14