ipfs-chromium
|
#include <component/cache_requestor.h>
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 >) |
Requestor & | or_else (std::shared_ptr< Requestor > p) |
Requestor & | api (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< Client > | api_ |
A requestor to pull things from the IPFS DiskCache
|
overridevirtual |
Implements ipfs::gw::Requestor.