|
|
bool | doOperation (const int operation, const stringList &arglist, DownloadOptions &dopts) |
| |
| | Aria2CPP (const char *host, const char *port, std::string secret="") |
| |
| | Aria2CPP (const char *host, const char *port, std::string secret="") |
| |
| std::shared_ptr< Options > | getOptions () const |
| |
| void | update (stringList keys=stringList()) |
| |
| std::string | addDownload (const std::string URI, int position=0) |
| |
| std::string | addDownload (const std::string URI, DownloadOptions &options, int position=0) |
| |
| std::string | addTorrent (const std::string torrentFile, DownloadOptions &options, stringList URIs=stringList{}, int position=0) |
| |
| std::string | addTorrent (const std::string torrentFile, stringList URIs=stringList{}, int position=0) |
| |
| stringList | addMetalink (const std::string metalinkFile, int position=0) |
| |
| stringList | addMetalink (const std::string metalinkFile, DownloadOptions &dopts, int position=0) |
| |
| bool | pause (const std::string gid) const |
| |
| bool | resume (const std::string gid) const |
| |
| bool | pauseAll () const |
| |
| bool | shutdown () const |
| |
| bool | forceShutdown () const |
| |
| bool | resumeAll () const |
| |
| bool | saveSession () const |
| |
| int | changePosition (const std::string gid, const int count, std::string how) const |
| |
| bool | remove (const std::string gid) const |
| |
| bool | forceRemove (const std::string gid) const |
| |
| std::string | name (const size_t pos) const |
| |
| std::string | gid (const size_t pos) const |
| |
| bool | hasGid (const std::string gid) const |
| |
| bool | purgeDownloadResult () const |
| |
| bool | removeDownloadResult (const std::string gid) const |
| |
| Options | getGlobalOption () const |
| |
| bool | setGlobalOption (const std::string option, const std::string value) |
| |
| GlobalStat | getGlobalStat () const |
| |
| Version | getVersion () const |
| |
| std::string | getSessionID () |
| |
| stringList | listMethods () |
| |
| std::vector< URI > | getUris (std::string gid) const |
| |
| std::vector< Download > | getDownloads (stringList keys=stringList()) |
| |
| Download | getDownload (const std::string gid, stringList keys=stringList(), bool getPeers=true, bool getServers=true) |
| |
| Download | getDownload (const size_t pos, stringList keys=stringList(), bool getPeers=true, bool getServers=true) |
| |