|
| | generic_express_route_entry_t (const generic_express_route_entry_t &)=delete |
| |
| generic_express_route_entry_t & | operator= (const generic_express_route_entry_t &)=delete |
| |
| | generic_express_route_entry_t ()=default |
| |
| | generic_express_route_entry_t (generic_express_route_entry_t &&)=default |
| |
| generic_express_route_entry_t & | operator= (generic_express_route_entry_t &&)=default |
| |
| template<typename Method_Matcher > |
| | generic_express_route_entry_t (Method_Matcher &&method_matcher, string_view_t route_path, const path2regex::options_t &options, actual_request_handler_t handler) |
| |
| template<typename Method_Matcher > |
| | generic_express_route_entry_t (Method_Matcher &&method_matcher, string_view_t route_path, actual_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 (actual_request_handle_t rh, route_params_t rp) const |
| | Calls a handler of given request with given params. More...
|
| |
template<typename Regex_Engine, typename Extra_Data_Factory>
class restinio::router::generic_express_route_entry_t< Regex_Engine, Extra_Data_Factory >
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 472 of file express.hpp.