RESTinio
Loading...
Searching...
No Matches
restinio::impl::acceptor_details::ip_blocker_holder_t< restinio::ip_blocker::noop_ip_blocker_t > Struct Reference

A specialization of ip_blocker_holder for case of noop_ip_blocker. More...

#include <acceptor.hpp>

Public Member Functions

template<typename Settings>
 ip_blocker_holder_t (const Settings &)
 
template<typename Socket>
restinio::ip_blocker::inspection_result_t inspect_incoming (Socket &) const noexcept
 
 ip_blocker_holder_t (const Settings &settings)
 
restinio::ip_blocker::inspection_result_t inspect_incoming (Socket &socket) const noexcept
 

Public Attributes

std::shared_ptr< restinio::ip_blocker::noop_ip_blocker_tm_ip_blocker
 

Detailed Description

A specialization of ip_blocker_holder for case of noop_ip_blocker.

This class doesn't hold anything and doesn't do anything.

Since
v.0.5.1

Definition at line 141 of file acceptor.hpp.

Constructor & Destructor Documentation

◆ ip_blocker_holder_t() [1/2]

template<typename Settings>
restinio::impl::acceptor_details::ip_blocker_holder_t< restinio::ip_blocker::noop_ip_blocker_t >::ip_blocker_holder_t ( const Settings & )
inline

Definition at line 144 of file acceptor.hpp.

◆ ip_blocker_holder_t() [2/2]

restinio::impl::acceptor_details::ip_blocker_holder_t< restinio::ip_blocker::noop_ip_blocker_t >::ip_blocker_holder_t ( const Settings & settings)
inline

Definition at line 116 of file acceptor.hpp.

Member Function Documentation

◆ inspect_incoming() [1/2]

Definition at line 148 of file acceptor.hpp.

◆ inspect_incoming() [2/2]

Member Data Documentation

◆ m_ip_blocker


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