http文件下载器改成默认不断点续传

This commit is contained in:
xzl
2017-05-24 14:29:47 +08:00
parent 1b78f7ae5a
commit ebf1c53543
2 changed files with 14 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ public:
HttpDownloader();
virtual ~HttpDownloader();
//开始下载文件,默认断点续传方式下载
void startDownload(const string &url,const string &filePath = "",bool bAppend = true);
void startDownload(const string &url,const string &filePath = "",bool bAppend = false);
void startDownload(const string &url,const onDownloadResult &cb){
setOnResult(cb);
startDownload(url);