ipfs-chromium
Public Types | Public Member Functions | List of all members
ipfs::ctx::HttpApi Class Referenceabstract

#include <library/include/ipfs_client/ctx/http_api.h>

Inheritance diagram for ipfs::ctx::HttpApi:
Inheritance graph
[legend]

Public Types

using ReqDesc = ::ipfs::HttpRequestDescription
 
using Hdrs = std::function< std::string(std::string_view)>
 
using OnComplete = std::function< void(std::int16_t, std::string_view, Hdrs)>
 
using Canceller = std::function< void()>
 

Public Member Functions

virtual Canceller SendHttpRequest (ReqDesc, OnComplete cb) const =0
 

Detailed Description

Base class for sending HTTP requests

Note
Subclassed by implementation, so you'll likely only need 1 subclass per project.

Member Typedef Documentation

◆ ReqDesc

Description of the request to be sent


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