RESTinio
|
A special type for holding the value of maximum allowed count of parallel connections. More...
#include <settings.hpp>
Public Member Functions | |
std::size_t | max_parallel_connections () const noexcept |
void | set_max_parallel_connections (std::size_t v) noexcept |
Public Attributes | |
std::size_t | m_max_parallel_connections |
Actual value of the limit. |
Static Public Attributes | |
static constexpr bool | has_actual_max_parallel_connections = true |
A special type for holding the value of maximum allowed count of parallel connections.
This type is intended to be used as a mixin for server_settings_t type.
Holds the value and provides the actual implementations for getter and setter of that value.
Definition at line 480 of file settings.hpp.
|
inlinenoexcept |
Definition at line 494 of file settings.hpp.
|
inlinenoexcept |
Definition at line 500 of file settings.hpp.
|
staticconstexpr |
Definition at line 482 of file settings.hpp.
std::size_t restinio::details::max_parallel_connections_holder_t< Count_Limiter >::m_max_parallel_connections |
Actual value of the limit.
By the default the count of parallel connection is not limited.
Definition at line 489 of file settings.hpp.