performs downloads
More...
#include <cupt/download/manager.hpp>
◆ Manager()
cupt::download::Manager::Manager |
( |
const shared_ptr< const Config > & |
config, |
|
|
const shared_ptr< Progress > & |
progress |
|
) |
| |
constructor
- Parameters
-
config | |
progress | progress meter |
◆ download()
string cupt::download::Manager::download |
( |
const vector< DownloadEntity > & |
entities | ) |
|
downloads entities in parallel
- Parameters
-
entities | list of entities to download |
- Returns
- empty string when everything went ok, human readable download error from arbitrary failed entity if some entities failed to download
The documentation for this class was generated from the following file: