RESTinio
|
Classes | |
class | incoming_info_t |
An information about new incoming connection to be passed to IP-blocker object. More... | |
struct | noop_ip_blocker_t |
The default no-op IP-blocker. More... | |
Enumerations | |
enum class | inspection_result_t { deny , allow } |
Enumeration of result of inspecting new incoming connection. More... | |
Functions | |
constexpr inspection_result_t | deny () noexcept |
Shorthand for inspection_result_t::deny. More... | |
constexpr inspection_result_t | allow () noexcept |
Shorthand for inspection_result_t::allow. More... | |
|
strong |
Enumeration of result of inspecting new incoming connection.
Enumerator | |
---|---|
deny | New connection is disabled and should be closed. |
allow | New connection is allowed to be processed further. |
Definition at line 30 of file ip_blocker.hpp.
|
inlineconstexprnoexcept |
Shorthand for inspection_result_t::allow.
Definition at line 52 of file ip_blocker.hpp.
|
inlineconstexprnoexcept |
Shorthand for inspection_result_t::deny.
Definition at line 44 of file ip_blocker.hpp.