|
RESTinio
|
A special class for case when no-op IP-blocker is used. More...
#include <settings.hpp>
Public Member Functions | |
| void | check_valid_ip_blocker_pointer () const |
| void | check_valid_ip_blocker_pointer () const |
| Checks that pointer to IP-blocker is not null. | |
Public Attributes | |
| std::shared_ptr< ip_blocker::noop_ip_blocker_t > | m_ip_blocker |
Static Public Attributes | |
| static constexpr bool | has_actual_ip_blocker = false |
| static constexpr bool | has_actual_ip_blocker |
A special class for case when no-op IP-blocker is used.
Doesn't hold anything and contains empty check_valid_ip_blocker_pointer() method.
Definition at line 413 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 397 of file settings.hpp.
|
inline |
Definition at line 418 of file settings.hpp.
|
staticconstexpr |
Definition at line 390 of file settings.hpp.
|
staticconstexpr |
Definition at line 415 of file settings.hpp.
| std::shared_ptr< ip_blocker::noop_ip_blocker_t > restinio::ip_blocker_holder_t< ip_blocker::noop_ip_blocker_t >::m_ip_blocker |
Definition at line 388 of file settings.hpp.