RESTinio
|
#include <chrono>
#include <tuple>
#include <utility>
#include <restinio/asio_include.hpp>
#include <restinio/exception.hpp>
#include <restinio/request_handler.hpp>
#include <restinio/traits.hpp>
Go to the source code of this file.
Classes | |
class | restinio::socket_type_dependent_settings_t< Settings, Socket > |
Extra settings needed for working with socket. More... | |
class | restinio::acceptor_options_t |
An adapter for setting acceptor options before running server. More... | |
class | restinio::socket_options_t |
An adapter for setting acceptor options before running server. More... | |
struct | restinio::connection_state_listener_holder_t< Listener > |
A special class for holding actual connection state listener. More... | |
struct | restinio::connection_state_listener_holder_t< connection_state::noop_listener_t > |
A special class for case when no-op state listener is used. More... | |
struct | restinio::ip_blocker_holder_t< Ip_Blocker > |
A special class for holding actual IP-blocker object. More... | |
struct | restinio::ip_blocker_holder_t< ip_blocker::noop_ip_blocker_t > |
A special class for case when no-op IP-blocker is used. More... | |
class | restinio::basic_server_settings_t< Derived, Traits > |
Basic container for http_server settings. More... | |
class | restinio::server_settings_t< Traits > |
A fluent style interface for setting http server params. More... | |
Namespaces | |
restinio | |
restinio::details | |
Typedefs | |
using | restinio::acceptor_options_setter_t = std::function< void(acceptor_options_t &) > |
using | restinio::socket_options_setter_t = std::function< void(socket_options_t &) > |
using | restinio::cleanup_functor_t = std::function< void(void) > |
Type of holder for user's cleanup function. More... | |
Functions | |
template<typename Object > | |
auto | restinio::details::create_default_unique_object_instance (std::false_type) |
Default instantiation for a specific type. More... | |
template<typename Object > | |
auto | restinio::details::create_default_unique_object_instance (std::true_type) |
template<typename Object > | |
auto | restinio::details::create_default_shared_object_instance (std::false_type) |
Default instantiation for a specific type. More... | |
template<typename Object > | |
auto | restinio::details::create_default_shared_object_instance (std::true_type) |
template<typename Object > | |
auto | restinio::create_default_unique_object_instance () |
Default instantiation for a specific type. More... | |
template<> | |
auto | restinio::create_default_unique_object_instance< default_request_handler_t > () |
Default instantiation for default_request_handler_t. More... | |
template<typename Object > | |
auto | restinio::create_default_shared_object_instance () |
Default instantiation for a specific type. More... | |
template<> | |
auto | restinio::create_default_shared_object_instance< default_request_handler_t > () |
Default instantiation for default_request_handler_t. More... | |
template<typename Object > | |
auto | restinio::ensure_created (std::unique_ptr< Object > mb_created_one, string_view_t fail_description) |
Ensure that object was created. More... | |
template<typename Object > | |
auto | restinio::ensure_created (std::shared_ptr< Object > mb_created_one, string_view_t fail_description) |
Ensure that object was created. More... | |
template<> | |
auto | restinio::create_default_unique_object_instance< acceptor_options_setter_t > () |
template<> | |
auto | restinio::create_default_unique_object_instance< socket_options_setter_t > () |
template<typename Traits , typename Configurator > | |
auto | restinio::exec_configurator (Configurator &&configurator) |