ipfs-chromium
Loading...
Searching...
No Matches
include
ipfs_client
ctx
dns_txt_lookup.h
1
#ifndef IPFS_CHROMIUM_DNS_TXT_LOOKUP_H
2
#define IPFS_CHROMIUM_DNS_TXT_LOOKUP_H
3
4
#include <functional>
5
#include <string>
6
7
namespace
ipfs::ctx {
11
class
DnsTxtLookup
{
12
public
:
15
using
DnsTextResultsCallback
=
16
std::function<void(std::vector<std::string>
const
&)>;
17
using
DnsTextCompleteCallback = std::function<void(
void
)>;
18
virtual
void
SendDnsTextRequest(std::string hostname,
19
DnsTextResultsCallback
,
20
DnsTextCompleteCallback) = 0;
21
22
virtual
~DnsTxtLookup
() noexcept;
23
};
24
}
// namespace ipfs::ctx
25
26
#endif
// IPFS_CHROMIUM_DNS_TXT_LOOKUP_H
ipfs::ctx::DnsTxtLookup
Definition
dns_txt_lookup.h:11
ipfs::ctx::DnsTxtLookup::DnsTextResultsCallback
std::function< void(std::vector< std::string > const &)> DnsTextResultsCallback
Definition
dns_txt_lookup.h:16
Generated by
1.9.8