RESTinio
non_matched_request_handler.hpp
Go to the documentation of this file.
1/*
2 * RESTinio
3 */
4
12#pragma once
13
15
16#include <functional>
17
18namespace restinio
19{
20
21namespace router
22{
23
24//
25// generic_non_matched_request_handler_t
26//
41template< typename Extra_Data >
43 std::function<
45 >;
46//
47// non_matched_request_handler_t
48//
59 >;
60
61} /* namespace router */
62
63} /* namespace restinio */
64
generic_non_matched_request_handler_t< no_extra_data_factory_t::data_t > non_matched_request_handler_t
A type of handler for non-matched requests for a case when default extra-data-factory is specified in...
std::function< request_handling_status_t(generic_request_handle_t< Extra_Data >) > generic_non_matched_request_handler_t
A generic type of handler for non-matched requests.
std::shared_ptr< generic_request_t< Extra_Data > > generic_request_handle_t
An alias for shared-pointer to incoming request.
request_handling_status_t
Request handling status.
A type of extra-data to be incorporated into a request object by the default.