#include <CscHttpClient.h>
|
| ptr< HttpResponse > | get (const HttpGet ¶meters) const noexcept(false) |
| |
| ptr< HttpResponse > | postMultipart (const HttpMultipartPost ¶meters) const |
| |
| ptr< HttpResponse > | download (const HttpGet ¶meters, const fs::path &outFilePath, optional< function< void(float progressRatio)>> onProgress={}, optional< unsigned > timeoutSeconds=CscHttpClientConfiguration::defaultTimeoutSecondsDownload()) const noexcept(false) |
| |
| ptr< HttpResponse > | upload (const string &protocol, const string &host, const string &path, int port, const fs::path &filePath) const noexcept(false) |
| |
| ptr< HttpResponse > | upload (const string &protocol, const string &host, const string &path, int port, const std::vector< unsigned char > &dataBuffer, const std::string &contentType="application/octet-stream") const |
| |
| ptr< HttpResponse > | post (const HttpPost ¶meters) const noexcept(false) |
| |
◆ download()
- Returns
- response in order to enable headers read
◆ get()
| ptr< HttpResponse > conscience_core::communication::HTTP::CscHttpClient::get |
( |
const HttpGet & |
parameters | ) |
const |
|
noexcept |
◆ Instance()
| CscHttpClient & conscience_core::communication::HTTP::CscHttpClient::Instance |
( |
| ) |
|
|
static |
◆ post()
◆ postMultipart()
◆ upload() [1/2]
| ptr< HttpResponse > conscience_core::communication::HTTP::CscHttpClient::upload |
( |
const string & |
protocol, |
|
|
const string & |
host, |
|
|
const string & |
path, |
|
|
int |
port, |
|
|
const fs::path & |
filePath |
|
) |
| const |
|
noexcept |
◆ upload() [2/2]
| ptr< HttpResponse > conscience_core::communication::HTTP::CscHttpClient::upload |
( |
const string & |
protocol, |
|
|
const string & |
host, |
|
|
const string & |
path, |
|
|
int |
port, |
|
|
const std::vector< unsigned char > & |
dataBuffer, |
|
|
const std::string & |
contentType = "application/octet-stream" |
|
) |
| const |
The documentation for this class was generated from the following files: