ipfs-chromium
component
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;
16
class
ChromiumDnsTxtLookup
:
public
ctx::DnsTxtLookup
{
17
raw_ptr<InterRequestState>
state_;
18
std::map<std::string, std::vector<std::unique_ptr<DnsTxtRequest>>> dns_reqs_;
19
20
void
SendDnsTextRequest(std::string,
21
DnsTextResultsCallback,
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
ipfs::ChromiumDnsTxtLookup
Definition:
chromium_dns_txt_lookup.h:16
ipfs::ctx::DnsTxtLookup
Definition:
dns_txt_lookup.h:11
ipfs::raw_ptr< InterRequestState >
Generated by
1.9.1