|
| express_route_entry_t (const express_route_entry_t &)=delete |
|
express_route_entry_t & | operator= (const express_route_entry_t &)=delete |
|
| express_route_entry_t ()=default |
|
| express_route_entry_t (express_route_entry_t &&)=default |
|
express_route_entry_t & | operator= (express_route_entry_t &&)=default |
|
template<typename Method_Matcher > |
| express_route_entry_t (Method_Matcher &&method_matcher, string_view_t route_path, const path2regex::options_t &options, express_request_handler_t handler) |
|
template<typename Method_Matcher > |
| express_route_entry_t (Method_Matcher &&method_matcher, string_view_t route_path, express_request_handler_t handler) |
|
RESTINIO_NODISCARD bool | match (const http_request_header_t &h, impl::target_path_holder_t &target_path, route_params_t ¶ms) const |
| Checks if request header matches entry, and if so, set route params. More...
|
|
RESTINIO_NODISCARD request_handling_status_t | handle (request_handle_t rh, route_params_t rp) const |
| Calls a handler of given request with given params. More...
|
|
template<typename Regex_Engine = std_regex_engine_t>
class restinio::router::express_route_entry_t< Regex_Engine >
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 437 of file express.hpp.