traits.hpp File Reference
`#include <restinio/request_handler.hpp>`
`#include <restinio/asio_timer_manager.hpp>`
`#include <restinio/null_logger.hpp>`
`#include <restinio/connection_state_listener.hpp>`
`#include <restinio/ip_blocker.hpp>`
`#include <restinio/default_strands.hpp>`
`#include <restinio/connection_count_limiter.hpp>`
`#include <restinio/utils/metaprogramming.hpp>`

Go to the source code of this file.

## Classes

struct | restinio::details::valid_request_handler_type_check::valid_handler_type< typename, typename, typename >
struct | restinio::details::valid_request_handler_type_check::valid_handler_type< Handler, Extra_Data_Factory, restinio::utils::metaprogramming::void_t< std::enable_if_t< std::is_same< request_handling_status_t, decltype(std::declval< Handler >()(std::declval< generic_request_handle_t< typename Extra_Data_Factory::data_t > >())) >::value, bool > > >
struct | restinio::details::autodetect_request_handler_type
| A special type to be used as indicator that the type of a request handler should be automatically detected. More...
struct | restinio::details::actual_request_handler_type_detector< Request_Handler, Extra_Data_Factory >
| A metafunction for the detection of type of a request-handler. More...
struct | restinio::details::actual_request_handler_type_detector< autodetect_request_handler_type, Extra_Data_Factory >
| Special version of metafunction actual_request_handler_type_detector for the case of autodetect_request_handler_type. More...
struct | restinio::traits_t< Timer_Manager, Logger, Request_Handler, Strand, Socket >

## Namespaces

namespace | restinio
namespace | restinio::details
namespace | restinio::details::valid_request_handler_type_check

## Typedefs

template<typename Traits >
using | restinio::request_handler_type_from_traits_t = typename details::actual_request_handler_type_detector< typename Traits::request_handler_t, typename Traits::extra_data_factory_t >::request_handler_t
| A metafunction for extraction a request-handler type from server's traits. More...
template<typename Traits >
using | restinio::generic_request_type_from_traits_t = generic_request_t< typename Traits::extra_data_factory_t::data_t >
| A metafunction for the detection of actual type of request-object from server's traits. More...
template<typename Timer_Manager , typename Logger , typename Request_Handler = details::autodetect_request_handler_type>
using | restinio::single_thread_traits_t = traits_t< Timer_Manager, Logger, Request_Handler, noop_strand_t >
using | restinio::default_traits_t = traits_t< asio_timer_manager_t, null_logger_t >
using | restinio::default_single_thread_traits_t = single_thread_traits_t< asio_timer_manager_t, null_logger_t >
| Default traits for single-threaded HTTP-server. More...