Go to the documentation of this file.
18 #ifndef CUPT_DOWNLOAD_METHOD_SEEN
19 #define CUPT_DOWNLOAD_METHOD_SEEN
26 #include <cupt/fwd.hpp>
52 const Uri& uri,
const string& suboptionName);
62 const Uri& uri,
const string& suboptionName);
76 const string& targetPath,
const std::function<
void (
const vector< string >&) >& callback) = 0;
static string getAcquireSuboptionForUri(const Config &config, const Uri &uri, const string &suboptionName)
gets URI-specific value of some 'acquire::*' option
virtual string perform(const Config &config, const Uri &uri, const string &targetPath, const std::function< void(const vector< string > &) > &callback)=0
downloads uri to targetPath
base class of download methods
Definition: method.hpp:33
uniform resource indentifier, "download path"
Definition: uri.hpp:38
static ssize_t getIntegerAcquireSuboptionForUri(const Config &config, const Uri &uri, const string &suboptionName)
gets URI-specific value of some integer 'acquire::*' option
stores library's configuration variables
Definition: config.hpp:35