QNFormUpload.h 707 B

12345678910111213141516171819202122232425262728
  1. //
  2. // QNFormUpload.h
  3. // QiniuSDK
  4. //
  5. // Created by bailong on 15/1/4.
  6. // Copyright (c) 2015年 Qiniu. All rights reserved.
  7. //
  8. #import "QNHttpDelegate.h"
  9. #import "QNUpToken.h"
  10. #import "QNUploadManager.h"
  11. #import <Foundation/Foundation.h>
  12. @interface QNFormUpload : NSObject
  13. - (instancetype)initWithData:(NSData *)data
  14. withKey:(NSString *)key
  15. withFileName:(NSString *)fileName
  16. withToken:(QNUpToken *)token
  17. withCompletionHandler:(QNUpCompletionHandler)block
  18. withOption:(QNUploadOption *)option
  19. withHttpManager:(id<QNHttpDelegate>)http
  20. withConfiguration:(QNConfiguration *)config;
  21. - (void)put;
  22. @end