13 #ifndef __PROCESS_FIREWALL_HPP__ 14 #define __PROCESS_FIREWALL_HPP__ 95 #endif // __PROCESS_FIREWALL_HPP__ Definition: option.hpp:29
Future< Response > request(const Request &request, bool streamedResponse=false)
Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...
URL url
Definition: http.hpp:544
std::string paths()
Definition: os.hpp:138
Option< http::Response > apply(const network::inet::Socket &, const http::Request &request) override
Verify rule by applying it to an HTTP request and its underlying socket connection.
Definition: firewall.hpp:77
std::string path
Definition: http.hpp:188
FirewallRule()
Definition: firewall.hpp:43
virtual ~FirewallRule()
Definition: firewall.hpp:44
~DisabledEndpointsFirewallRule() override
Definition: firewall.hpp:75
Definition: executor.hpp:48
A 'FirewallRule' describes an interface which provides control over incoming HTTP requests while also...
Definition: firewall.hpp:40
Simple firewall rule to forbid any HTTP request to a path in the provided list of endpoints...
Definition: firewall.hpp:70
Try< Netlink< struct nl_sock > > socket(int protocol=NETLINK_ROUTE)
Definition: internal.hpp:91
virtual Option< http::Response > apply(const network::inet::Socket &socket, const http::Request &request)=0
Verify rule by applying it to an HTTP request and its underlying socket connection.