RESTinio
|
#include <restinio/asio_include.hpp>
#include <restinio/exception.hpp>
#include <restinio/request_handler.hpp>
#include <restinio/traits.hpp>
#include <restinio/incoming_http_msg_limits.hpp>
#include <restinio/variant.hpp>
#include <chrono>
#include <tuple>
#include <utility>
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... | |
struct | restinio::details::no_address_specified_t |
A special indicator for the case when IP address for a server is not set explicitly. More... | |
struct | restinio::details::max_parallel_connections_holder_t< Count_Limiter > |
A special type for holding the value of maximum allowed count of parallel connections. More... | |
struct | restinio::details::max_parallel_connections_holder_t< ::restinio::connection_count_limits::noop_connection_count_limiter_t > |
A specialization of max_parallel_connections_holder for the case when connection count isn't limited. 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 | |
namespace | restinio |
namespace | 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... | |
using | restinio::acceptor_post_bind_hook_t = std::function< void(asio_ns::ip::tcp::acceptor &) > |
A type of callback to be called after a successful invocation of bind() function for the acceptor. More... | |
using | restinio::details::address_variant_t = variant_t< no_address_specified_t, std::string, asio_ns::ip::address > |
A type of variant for holding IP address for a server in various representations. 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) |