hank
2017-03-28 ad8e2e818ee3162a779dba42fffe92682bb1f69f
commit | author | age
64e824 1 //
H 2 //  WASDKDownloadHandler.h
3 //  testDownload
4 //
5 //  Created by wuyx on 15/10/21.
6 //  Copyright © 2015年 GHW. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @class AFHTTPRequestOperation;
12 @interface WADownloadHandler : NSObject
13 + (void)downloadFileWithOption:(NSDictionary *)paramDic
14                  withInferface:(NSString*)requestURL
15                      savedPath:(NSString*)savedPath
16                         method:(NSString*)method
17                downloadSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
18                downloadFailure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
19                       progress:(void (^)(float progress))progress;
20 @end
21