14 #include <restinio/common_types.hpp> 70 endpoint_t remote_endpoint )
endpoint_t m_remote_endpoint
The default no-op IP-blocker.
New connection is allowed to be processed further.
constexpr inspection_result_t allow() noexcept
Shorthand for inspection_result_t::allow.
incoming_info_t(endpoint_t remote_endpoint)
Initializing constructor.
New connection is disabled and should be closed.
inspection_result_t
Enumeration of result of inspecting new incoming connection.
endpoint_t remote_endpoint() const noexcept
Remote endpoint of the new connection.
An information about new incoming connection to be passed to IP-blocker object.
constexpr inspection_result_t deny() noexcept
Shorthand for inspection_result_t::deny.
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, optional_t< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in optional_t<Value_Type> if parameter exists ...