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. More... | |
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 481 of file settings.hpp.
|
inlinenoexcept |
Definition at line 495 of file settings.hpp.
|
inlinenoexcept |
Definition at line 501 of file settings.hpp.
|
staticconstexpr |
Definition at line 483 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 490 of file settings.hpp.