ipfs-chromium
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ipfs::IpfsRequest Class Reference

#include <library/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
 
IpfsRequestsemantic (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< IpfsRequestfromUrl (std::string url, Finisher)
 

Detailed Description

A request for a document/resource from IPFS


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