ipfs-chromium
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
ipfs::gw::Requestor Class Referenceabstract

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

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 forward (RequestPtr) const
 

Static Protected Member Functions

static void definitive_failure (RequestPtr)
 

Protected Attributes

std::shared_ptr< Clientapi_
 

Detailed Description

Interface for classes that respond to IPFSRequest


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