lpw
2021-04-06 6c8b26198e9b7be39b9f83a934380c660a76d282
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  WASDKDownloadHandler.h
//  testDownload
//
//  Created by wuyx on 15/10/21.
//  Copyright © 2015年 GHW. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@class AFHTTPRequestOperation;
@interface WADownloadHandler : NSObject
+ (NSURLSessionDownloadTask *)downloadFileWithOption:(NSDictionary *)paramDic
                 withInferface:(NSString*)requestURL
                     savedPath:(NSString*)savedPath
                        method:(NSString*)method
                       success:(void (^)(NSURLResponse *response, NSURL *filePath))success
                       failure:(void (^)(NSURLResponse *response, NSError *error))failure
                      progress:(void (^)(float progress))progress;
@end