13 #ifndef __PROCESS_HTTP_PROXY_HPP__ 14 #define __PROCESS_HTTP_PROXY_HPP__ 85 :
request(_request), future(_future) {}
91 std::queue<Item*> items;
98 #endif // __PROCESS_HTTP_PROXY_HPP__ void finalize() override
Invoked when a process is terminated.
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...
HttpProxy(const network::inet::Socket &_socket)
Definition: http_proxy.hpp:36
Definition: executor.hpp:48
void handle(const Future< http::Response > &future, const http::Request &request)
~HttpProxy() override
Definition: http_proxy.hpp:41
Definition: process.hpp:505
void enqueue(const http::Response &response, const http::Request &request)