cpp-ipfs-http-client
IPFS C++ client library
|
HTTP file upload. More...
#include <ipfs/http/transport.h>
Public Types | |
enum class | Type { kFileContents , kFileName } |
The type of the data member. More... | |
Public Attributes | |
const std::string | path |
File name to pretend to the web server. | |
Type | type |
The type of the data member. | |
const std::string | data |
The data to be added. | |
HTTP file upload.
|
strong |
const std::string ipfs::http::FileUpload::data |
The data to be added.
Either a file name from which to read the data or the contents itself.