|
Aktualizr
C++ SOTA Client
|
Public Member Functions | |
| virtual HttpResponse | get (const std::string &url, int64_t maxsize)=0 |
| virtual HttpResponse | post (const std::string &url, const Json::Value &data)=0 |
| virtual HttpResponse | put (const std::string &url, const Json::Value &data)=0 |
| virtual HttpResponse | download (const std::string &url, curl_write_callback callback, void *userp)=0 |
| virtual void | setCerts (const std::string &ca, CryptoSource ca_source, const std::string &cert, CryptoSource cert_source, const std::string &pkey, CryptoSource pkey_source)=0 |
Static Public Attributes | |
| static constexpr int64_t | kNoLimit = 0 |
| static constexpr int64_t | kPostRespLimit = 64 * 1024 |
| static constexpr int64_t | kPutRespLimit = 64 * 1024 |
Definition at line 28 of file httpinterface.h.
1.8.14