1 #ifndef IPFS_MULTI_GATEWAY_REQUESTOR_H_
2 #define IPFS_MULTI_GATEWAY_REQUESTOR_H_
4 #include "gateway_state.h"
6 #include <ipfs_client/gw/requestor.h>
8 #include <ipfs_client/client.h>
18 std::map<std::string, GatewayState> state_;
19 std::deque<RequestPtr> q;
20 bool Process(RequestPtr
const&);
21 void DoSend(RequestPtr, std::string
const&,
GatewayState&);
22 using HeaderAccess = ctx::HttpApi::Hdrs;
30 std::chrono::system_clock::time_point);
34 std::string_view name()
const override;
35 HandleOutcome handle(RequestPtr)
override;
Definition: gateway_state.h:25
Definition: multi_gateway_requestor.h:17
Definition: requestor.h:22
Definition: http_request_description.h:12