ipfs-chromium
Public Member Functions | List of all members
ipfs::gw::DnsLinkRequestor Class Referencefinal

#include <library/include/ipfs_client/gw/dnslink_requestor.h>

Inheritance diagram for ipfs::gw::DnsLinkRequestor:
Inheritance graph
[legend]
Collaboration diagram for ipfs::gw::DnsLinkRequestor:
Collaboration graph
[legend]

Public Member Functions

 DnsLinkRequestor (std::shared_ptr< Client > api)
 
HandleOutcome handle (RequestPtr) override
 
std::string_view name () const override
 
- Public Member Functions inherited from ipfs::gw::Requestor
void request (std::shared_ptr< GatewayRequest >)
 
Requestoror_else (std::shared_ptr< Requestor > p)
 
Requestorapi (std::shared_ptr< Client >)
 
void TestAccess (void *)
 

Additional Inherited Members

- Public Types inherited from ipfs::gw::Requestor
enum class  HandleOutcome : char {
  NOT_HANDLED = 'N' , PENDING = 'P' , DONE = 'D' , PARALLEL = 'L' ,
  MAYBE_LATER = 'M'
}
 
using RequestPtr = ::ipfs::gw::RequestPtr
 
- Protected Member Functions inherited from ipfs::gw::Requestor
void forward (RequestPtr) const
 
- Static Protected Member Functions inherited from ipfs::gw::Requestor
static void definitive_failure (RequestPtr)
 
- Protected Attributes inherited from ipfs::gw::Requestor
std::shared_ptr< Clientapi_
 

Detailed Description

Link in chain-of-command for request for a DNSLink name

Constructor & Destructor Documentation

◆ DnsLinkRequestor()

ipfs::gw::DnsLinkRequestor::DnsLinkRequestor ( std::shared_ptr< Client api)
explicit
Parameters
apiThe Client context API

Member Function Documentation

◆ name()

std::string_view ipfs::gw::DnsLinkRequestor::name ( ) const
overridevirtual
Returns
The requestor's name, for debugging. Typically this is 1:1 with the concrete type.

Implements ipfs::gw::Requestor.


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