lipengwei
2020-03-04 15fc5bb4e6bc039bcb908ac0c4c3cb168da1f211
frameworks/WACommon.framework/Headers/WADownloadHandler.h
@@ -10,12 +10,12 @@
@class AFHTTPRequestOperation;
@interface WADownloadHandler : NSObject
+ (void)downloadFileWithOption:(NSDictionary *)paramDic
+ (NSURLSessionDownloadTask *)downloadFileWithOption:(NSDictionary *)paramDic
                 withInferface:(NSString*)requestURL
                     savedPath:(NSString*)savedPath
                        method:(NSString*)method
               downloadSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
               downloadFailure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
                       success:(void (^)(NSURLResponse *response, NSURL *filePath))success
                       failure:(void (^)(NSURLResponse *response, NSError *error))failure
                      progress:(void (^)(float progress))progress;
@end