进度回调方法 @param complete 已上传或者已下载的数据长度 @param target 总的数据长度
typedef ProgressCallBack = Function(int complete, int target);