aliyun-oss-react-native

OSSResult.h 979B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // OSSResult.h
  3. // AliyunOSSSDK
  4. //
  5. // Created by huaixu on 2018/1/26.
  6. // Copyright © 2018年 aliyun. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. The base class of result from OSS.
  11. */
  12. @interface OSSResult : NSObject
  13. /**
  14. The http response code.
  15. */
  16. @property (nonatomic, assign) NSInteger httpResponseCode;
  17. /**
  18. The http headers, in the form of key value dictionary.
  19. */
  20. @property (nonatomic, strong) NSDictionary * httpResponseHeaderFields;
  21. /**
  22. The request Id. It's the value of header x-oss-request-id, which is created from OSS server.
  23. It's a unique Id represents this request. This is used for troubleshooting when you contact OSS support.
  24. */
  25. @property (nonatomic, strong) NSString * requestId;
  26. /**
  27. It's the value of header x-oss-hash-crc64ecma, which is created from OSS server.
  28. */
  29. @property (nonatomic, copy) NSString *remoteCRC64ecma;
  30. /**
  31. It's the value of local Data.
  32. */
  33. @property (nonatomic, copy) NSString *localCRC64ecma;
  34. @end