aliyun-oss-react-native

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // OSSRequest.h
  3. // AliyunOSSSDK
  4. //
  5. // Created by huaixu on 2018/1/22.
  6. // Copyright © 2018年 aliyun. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "OSSConstants.h"
  10. /**
  11. The base class of request to OSS.
  12. */
  13. @interface OSSRequest : NSObject
  14. /**
  15. Flag of requiring authentication. It's per each request.
  16. */
  17. @property (nonatomic, assign) BOOL isAuthenticationRequired;
  18. /**
  19. the flag of request canceled.
  20. */
  21. @property (nonatomic, assign) BOOL isCancelled;
  22. /**
  23. the flag of verification about crc64
  24. */
  25. @property (nonatomic, assign) OSSRequestCRCFlag crcFlag;
  26. /**
  27. Cancels the request
  28. */
  29. - (void)cancel;
  30. @end