ipfs-chromium
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ipfs::Response Struct Reference

#include <library/include/ipfs_client/response.h>

Collaboration diagram for ipfs::Response:
Collaboration graph
[legend]

Static Public Member Functions

static Response html (std::string_view body, std::string_view location={})
 

Public Attributes

std::string mime_
 
std::uint16_t status_
 
std::string body_
 
std::string location_
 
ipld::DagHeaders headers_
 

Static Public Attributes

static Response PLAIN_NOT_FOUND
 
static Response IMMUTABLY_GONE
 
static Response HOST_NOT_FOUND_RESPONSE
 

Detailed Description

Response to an IpfsRequest

Roughly mimics some aspects of an HTTP response, as some frameworks want to handle it as one.


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