RESTinio
|
A special class for holding actual IP-blocker object. More...
#include <settings.hpp>
Public Member Functions | |
void | check_valid_ip_blocker_pointer () const |
Checks that pointer to IP-blocker is not null. More... | |
Public Attributes | |
std::shared_ptr< Ip_Blocker > | m_ip_blocker |
Static Public Attributes | |
static constexpr bool | has_actual_ip_blocker = true |
A special class for holding actual IP-blocker object.
This class holds shared pointer to actual IP-blocker and provides an actual implementation of check_valid_ip_blocker_pointer() method.
Definition at line 374 of file settings.hpp.
|
inline |
Checks that pointer to IP-blocker is not null.
Throws an exception if m_ip_blocker is nullptr.
Definition at line 398 of file settings.hpp.
|
staticconstexpr |
Definition at line 391 of file settings.hpp.
std::shared_ptr< Ip_Blocker > restinio::ip_blocker_holder_t< Ip_Blocker >::m_ip_blocker |
Definition at line 389 of file settings.hpp.