//
|
// 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
|
+ (void)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
|
progress:(void (^)(float progress))progress;
|
@end
|