|
ipfs-chromium
|
#include <include/ipfs_client/ipfs_request.h>
Public Types | |
| using | Cleanup = std::function< void()> |
| using | Finisher = std::function< void(IpfsRequest const &, Response const &)> |
Public Member Functions | |
| IpfsRequest (std::string path, Finisher) | |
| SlashDelimited | path () const |
| ResponseSemantic | semantic () const |
| bool | done () const |
| IpfsRequest & | semantic (std::string_view) |
| void | finish (Response &r) |
| void | new_path (std::string_view) |
| void | to_cleanup (Cleanup) |
Static Public Member Functions | |
| static std::shared_ptr< IpfsRequest > | fromUrl (std::string url, Finisher) |
A request for a document/resource from IPFS