ipfs-chromium
|
#include <include/ipfs_client/response.h>
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 |
Response to an IpfsRequest
Roughly mimics some aspects of an HTTP response, as some frameworks want to handle it as one.
|
static |
body | HTML text (the response of the body, not the <body> |
location | The Location header |