RESTinio
|
A class for holding actual IP-blocker. More...
#include <acceptor.hpp>
Public Member Functions | |
template<typename Settings > | |
ip_blocker_holder_t (const Settings &settings) | |
template<typename Socket > | |
restinio::ip_blocker::inspection_result_t | inspect_incoming (Socket &socket) const noexcept |
Public Attributes | |
std::shared_ptr< Ip_Blocker > | m_ip_blocker |
A class for holding actual IP-blocker.
This class holds shared pointer to actual IP-blocker object and provides actual inspect_incoming() implementation.
Definition at line 111 of file acceptor.hpp.
|
inline |
Definition at line 116 of file acceptor.hpp.
|
inlinenoexcept |
Definition at line 123 of file acceptor.hpp.
std::shared_ptr< Ip_Blocker > restinio::impl::acceptor_details::ip_blocker_holder_t< Ip_Blocker >::m_ip_blocker |
Definition at line 113 of file acceptor.hpp.