ipfs-chromium
|
Interface for classes that can asynchronously fetch a block for a CID. More...
#include <library/include/ipfs_client/block_requestor.h>
Public Member Functions | |
virtual void | RequestByCid (std::string cid, std::shared_ptr< DagListener > dl, Priority priority)=0 |
Request a single block from gateway(s). More... | |
Interface for classes that can asynchronously fetch a block for a CID.
This is one of the interfaces using code is meant to implement. Common usages:
|
pure virtual |
Request a single block from gateway(s).
cid | - MB-MH string representation of the Content IDentifier |
dl | - Someone who may be interested |
priority | - Urgency of the request |