giga::details::CurlProgress Class Reference
Classes | |
struct | Item |
Public Member Functions | |
CurlProgress (pplx::cancellation_token token) | |
CurlProgress (const CurlProgress &rhs) | |
CurlProgress (CurlProgress &&)=delete | |
CurlProgress & | operator= (CurlProgress &&)=delete |
CurlProgress & | operator= (const CurlProgress &)=delete |
int | onCallback (curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow) noexcept |
Item | data () const |
void | setPause (bool pause) |
void | setUploadPosition (uint64_t position) |
void | setLimitRate (uint64_t rate) |
void | setCurl (curl::curl_easy &curl) |
bool | isPaused () const |
Member Function Documentation
void giga::details::CurlProgress::setLimitRate | ( | uint64_t | rate | ) |
limit the dl/up rate.
- Parameters
-
rate in Bytes/s. O for no limit.
The documentation for this class was generated from the following files:
- /home/thomas/code/GiGaSdk/src/giga/core/details/CurlProgress.h
- /home/thomas/code/GiGaSdk/src/giga/core/details/CurlProgress.cpp