ipfs-chromium
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipfs::gw::Requestor Class Referenceabstract
Inheritance diagram for ipfs::gw::Requestor:
Inheritance graph
[legend]
Collaboration diagram for ipfs::gw::Requestor:
Collaboration graph
[legend]

Public Types

enum class  HandleOutcome : char {
  NOT_HANDLED = 'N' , PENDING = 'P' , DONE = 'D' , PARALLEL = 'L' ,
  MAYBE_LATER = 'M'
}
 
using RequestPtr = ::ipfs::gw::RequestPtr
 

Public Member Functions

virtual std::string_view name () const =0
 
void request (std::shared_ptr< GatewayRequest >)
 
Requestoror_else (std::shared_ptr< Requestor > p)
 
Requestorapi (std::shared_ptr< Client >)
 
void TestAccess (void *)
 

Protected Member Functions

virtual HandleOutcome handle (RequestPtr)=0
 
void definitive_failure (RequestPtr) const
 
void forward (RequestPtr) const
 

Protected Attributes

std::shared_ptr< Clientapi_
 

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