洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
748 B

9 months ago
  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 (atomic, 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. /**
  31. Gets the query parameters' dictionary according to the properties.
  32. */
  33. - (NSDictionary *)requestParams;
  34. @end