RESTinio
Loading...
Searching...
No Matches
restinio::details::max_parallel_connections_holder_t< ::restinio::connection_count_limits::noop_connection_count_limiter_t > Struct Reference

A specialization of max_parallel_connections_holder for the case when connection count isn't limited. 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 = false

Detailed Description

A specialization of max_parallel_connections_holder for the case when connection count isn't limited.

Doesn't hold anything. Hasn't a setter.

The getter returns a value that means that there is no connection count limit at all.

Since
v.0.6.12

Definition at line 518 of file settings.hpp.

Member Function Documentation

◆ max_parallel_connections()

Definition at line 524 of file settings.hpp.

◆ set_max_parallel_connections()

Definition at line 500 of file settings.hpp.

Member Data Documentation

◆ has_actual_max_parallel_connections

Definition at line 521 of file settings.hpp.

◆ 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.


The documentation for this struct was generated from the following file: