QNBaseUpload.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // QNBaseUpload.h
  3. // QiniuSDK
  4. //
  5. // Created by WorkSpace_Sun on 2020/4/19.
  6. // Copyright © 2020 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "QNConfiguration.h"
  10. #import "QNCrc32.h"
  11. #import "QNRecorderDelegate.h"
  12. #import "QNHttpResponseInfo.h"
  13. #import "QNSessionManager.h"
  14. #import "QNUpToken.h"
  15. #import "QNUrlSafeBase64.h"
  16. #import "QNAsyncRun.h"
  17. #import "QNUploadInfoCollector.h"
  18. #import "QNUploadManager.h"
  19. #import "QNUploadOption.h"
  20. @interface QNBaseUpload : NSObject
  21. @property (nonatomic, copy) NSString *key;
  22. @property (nonatomic, copy) NSString *identifier;
  23. @property (nonatomic, copy) NSString *access; //AK
  24. @property (nonatomic, assign) UInt32 size;
  25. @property (nonatomic, strong) QNSessionManager *sessionManager;
  26. @property (nonatomic, strong) QNUpToken *token;
  27. @property (nonatomic, strong) QNUploadOption *option;
  28. @property (nonatomic, strong) QNUpCompletionHandler complete;
  29. @property (nonatomic, strong) QNConfiguration *config;
  30. @property (nonatomic, assign) QNZoneInfoType currentZoneType;
  31. @property (nonatomic, assign) QNRequestType requestType;
  32. - (void)collectHttpResponseInfo:(QNHttpResponseInfo *)httpResponseInfo fileOffset:(uint64_t)fileOffset;
  33. - (void)collectUploadQualityInfo;
  34. - (void)run;
  35. @end