ipfs-chromium
Classes | Public Member Functions | List of all members
ipfs::CacheRequestor Class Reference

#include <component/cache_requestor.h>

Inheritance diagram for ipfs::CacheRequestor:
Inheritance graph
[legend]
Collaboration diagram for ipfs::CacheRequestor:
Collaboration graph
[legend]

Public Member Functions

 CacheRequestor (InterRequestState &, base::FilePath)
 
void Store (std::string key, std::string headers, ByteView body)
 
void Expire (std::string const &key)
 
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

A requestor to pull things from the IPFS DiskCache


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