RESTinio
Loading...
Searching...
No Matches
Public Types | List of all members
restinio::connection_count_limit_types< Traits > Struct Template Reference

A kind of metafunction that deduces actual types related to connection count limiter in the dependecy of Traits. More...

#include <connection_count_limiter.hpp>

Public Types

using limiter_t
 
using lifetime_monitor_t
 

Detailed Description

template<typename Traits>
struct restinio::connection_count_limit_types< Traits >

A kind of metafunction that deduces actual types related to connection count limiter in the dependecy of Traits.

Deduces the following types:

Template Parameters
TraitsThe type with traits for RESTinio's server.
Since
v.0.6.12

Definition at line 458 of file connection_count_limiter.hpp.

Member Typedef Documentation

◆ lifetime_monitor_t

Initial value:
connection_count_limits::connection_lifetime_monitor_t< limiter_t >

Definition at line 468 of file connection_count_limiter.hpp.

◆ limiter_t

Initial value:
typename std::conditional
<
Traits::use_connection_count_limiter,
connection_count_limits::connection_count_limiter_t<
typename Traits::strand_t >,
connection_count_limits::noop_connection_count_limiter_t
>::type

Definition at line 460 of file connection_count_limiter.hpp.


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