SSS - S3 Toolkit 0.9.6
S3 client library and applications
Loading...
Searching...
No Matches
sss::api::S3Api::SendParams Struct Reference

Send request parameters. More...

#include <s3-api.h>

Data Fields

std::string method = "GET"
 HTTP method.
 
std::string bucket
 bucket name
 
std::string key
 key name
 
Parameters params
 url parameters as {key, value} map
 
Headers headers
 HTTP headers as {header name, header value} map.
 
std::string signUrl
 URL used for signing request headers.
 
std::string payloadHash
 payload hash, leave empty if no hash available
 
bool urlEncodePostParams
 
std::variant< std::string, ReadBufferuploadData
 

Detailed Description

Send request parameters.

See also
Send(const SendParams &p)
Config

Field Documentation

◆ uploadData

std::variant<std::string, ReadBuffer> sss::api::S3Api::SendParams::uploadData

Data to upload through POST or PUT methods; either a string or a pointer to memory buffer, initialised to first type

◆ urlEncodePostParams

bool sss::api::S3Api::SendParams::urlEncodePostParams
Initial value:
=
false

if \true URL-encode uploadData else send uploadData without encoding first


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