ipfs-chromium
dnslink_requestor.h
1 #ifndef IPFS_DNSLINK_REQUESTOR_H_
2 #define IPFS_DNSLINK_REQUESTOR_H_
3 
4 #include "requestor.h"
5 
6 namespace ipfs {
7 class Client;
8 }
9 
10 namespace ipfs::gw {
13 class DnsLinkRequestor final : public Requestor {
14  public:
17  explicit DnsLinkRequestor(std::shared_ptr<Client> api);
18 
19  HandleOutcome handle(RequestPtr) override;
20  std::string_view name() const override;
21 };
22 } // namespace ipfs::gw
23 
24 #endif // IPFS_DNSLINK_REQUESTOR_H_
Definition: dnslink_requestor.h:13
DnsLinkRequestor(std::shared_ptr< Client > api)
std::string_view name() const override
Definition: requestor.h:22