Cupt
|
downloadable element More...
#include <cupt/download/manager.hpp>
Public Attributes | |
vector< ExtendedUri > | extendedUris |
list of alternative uris | |
string | targetPath |
path where to place downloaded file | |
size_t | size |
std::function< string() > | postAction |
post-download callback |
downloadable element
std::function< string () > cupt::download::Manager::DownloadEntity::postAction |
post-download callback
Returned empty string means no errors. Returned non-empty string marks a download as failed and sets this string as download result.
file size, in bytes; set -1
if unknown