11 #include <restinio/request_handler.hpp> 12 #include <restinio/asio_timer_manager.hpp> 13 #include <restinio/null_logger.hpp> 14 #include <restinio/connection_state_listener.hpp> 15 #include <restinio/ip_blocker.hpp> 16 #include <restinio/default_strands.hpp> 17 #include <restinio/connection_count_limiter.hpp> 19 #include <restinio/utils/metaprogramming.hpp> 103 typename Request_Handler,
104 typename Extra_Data_Factory >
112 "Request_Handler should be invocable with " 113 "generic_request_handle_t<Extra_Data_Factory::data_t>" );
115 using request_handler_t = Request_Handler;
124 template<
typename Extra_Data_Factory >
141 typename Timer_Manager,
249 using timer_manager_t = Timer_Manager;
250 using logger_t = Logger;
251 using request_handler_t = Request_Handler;
252 using strand_t = Strand;
253 using stream_socket_t = Socket;
374 template<
typename Traits >
375 using request_handler_type_from_traits_t =
377 typename Traits::request_handler_t,
378 typename Traits::extra_data_factory_t
379 >::request_handler_t;
394 template<
typename Traits >
std::size_t max_parallel_connections() const noexcept
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, std::optional< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in std::optional<Value_Type> if parameter exis...
static constexpr bool use_connection_count_limiter
A flag that enables or disables the usage of connection count limiter.
A special type to be used as indicator that the type of a request handler should be automatically det...
Request_Handler request_handler_t