ipfs-chromium
chromium_dns_txt_lookup.h
1 #ifndef IPFS_CHROMIUM_CHROMIUM_DNS_TXT_LOOKUP_H
2 #define IPFS_CHROMIUM_CHROMIUM_DNS_TXT_LOOKUP_H
3 
4 #include "dns_txt_request.h"
5 
6 #include <ipfs_client/ctx/dns_txt_lookup.h>
7 
8 namespace ipfs {
9 class InterRequestState;
18  std::map<std::string, std::vector<std::unique_ptr<DnsTxtRequest>>> dns_reqs_;
19 
20  void SendDnsTextRequest(std::string,
22  DnsTextCompleteCallback) override;
23 
24  public:
25  ChromiumDnsTxtLookup(InterRequestState&);
26  ~ChromiumDnsTxtLookup() noexcept override;
27 };
28 } // namespace ipfs
29 
30 #endif // IPFS_CHROMIUM_CHROMIUM_DNS_TXT_LOOKUP_H
Definition: chromium_dns_txt_lookup.h:16
Definition: dns_txt_lookup.h:11
std::function< void(std::vector< std::string > const &)> DnsTextResultsCallback
Definition: dns_txt_lookup.h:16