ipfs-chromium
Public Types | Public Member Functions | List of all members
ipfs::ctx::DnsTxtLookup Class Referenceabstract

#include <library/include/ipfs_client/ctx/dns_txt_lookup.h>

Inheritance diagram for ipfs::ctx::DnsTxtLookup:
Inheritance graph
[legend]

Public Types

using DnsTextResultsCallback = std::function< void(std::vector< std::string > const &)>
 
using DnsTextCompleteCallback = std::function< void(void)>
 

Public Member Functions

virtual void SendDnsTextRequest (std::string hostname, DnsTextResultsCallback, DnsTextCompleteCallback)=0
 

Detailed Description

Handles requesting TXT (text) request from a DNS system

Note
Subclassed by implementation.

Member Typedef Documentation

◆ DnsTextResultsCallback

using ipfs::ctx::DnsTxtLookup::DnsTextResultsCallback = std::function<void(std::vector<std::string> const&)>

Callback for if usable result was achieved


The documentation for this class was generated from the following files: