mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
http文件下载器改成默认不断点续传
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user