aliyun-oss-react-native

OSSDefine.h 3.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //
  2. // OSSDefine.h
  3. // AliyunOSSiOS
  4. //
  5. // Created by zhouzhuo on 5/1/16.
  6. // Copyright © 2016 zhouzhuo. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #ifndef OSSDefine_h
  10. #define OSSDefine_h
  11. #define OSSUAPrefix @"aliyun-sdk-ios"
  12. #define OSSSDKVersion @"2.6.1"
  13. #define OSSListBucketResultXMLTOKEN @"ListBucketResult"
  14. #define OSSNameXMLTOKEN @"Name"
  15. #define OSSDelimiterXMLTOKEN @"Delimiter"
  16. #define OSSMarkerXMLTOKEN @"Marker"
  17. #define OSSNextMarkerXMLTOKEN @"NextMarker"
  18. #define OSSMaxKeysXMLTOKEN @"MaxKeys"
  19. #define OSSIsTruncatedXMLTOKEN @"IsTruncated"
  20. #define OSSContentsXMLTOKEN @"Contents"
  21. #define OSSKeyXMLTOKEN @"Key"
  22. #define OSSLastModifiedXMLTOKEN @"LastModified"
  23. #define OSSETagXMLTOKEN @"ETag"
  24. #define OSSTypeXMLTOKEN @"Type"
  25. #define OSSSizeXMLTOKEN @"Size"
  26. #define OSSStorageClassXMLTOKEN @"StorageClass"
  27. #define OSSCommonPrefixesXMLTOKEN @"CommonPrefixes"
  28. #define OSSOwnerXMLTOKEN @"Owner"
  29. #define OSSAccessControlListXMLTOKEN @"AccessControlList"
  30. #define OSSGrantXMLTOKEN @"Grant"
  31. #define OSSIDXMLTOKEN @"ID"
  32. #define OSSDisplayNameXMLTOKEN @"DisplayName"
  33. #define OSSBucketsXMLTOKEN @"Buckets"
  34. #define OSSBucketXMLTOKEN @"Bucket"
  35. #define OSSCreationDate @"CreationDate"
  36. #define OSSPrefixXMLTOKEN @"Prefix"
  37. #define OSSUploadIdXMLTOKEN @"UploadId"
  38. #define OSSLocationXMLTOKEN @"Location"
  39. #define OSSNextPartNumberMarkerXMLTOKEN @"NextPartNumberMarker"
  40. #define OSSMaxPartsXMLTOKEN @"MaxParts"
  41. #define OSSPartXMLTOKEN @"Part"
  42. #define OSSPartNumberXMLTOKEN @"PartNumber"
  43. #define OSSClientErrorDomain @"com.aliyun.oss.clientError"
  44. #define OSSServerErrorDomain @"com.aliyun.oss.serverError"
  45. #define OSSErrorMessageTOKEN @"ErrorMessage"
  46. #define OSSHttpHeaderContentDisposition @"Content-Disposition"
  47. #define OSSHttpHeaderXOSSCallback @"x-oss-callback"
  48. #define OSSHttpHeaderXOSSCallbackVar @"x-oss-callback-var"
  49. #define OSSHttpHeaderContentEncoding @"Content-Encoding"
  50. #define OSSHttpHeaderContentType @"Content-Type"
  51. #define OSSHttpHeaderContentMD5 @"Content-MD5"
  52. #define OSSHttpHeaderCacheControl @"Cache-Control"
  53. #define OSSHttpHeaderExpires @"Expires"
  54. #define OSSDefaultRetryCount 3
  55. #define OSSDefaultMaxConcurrentNum 5
  56. #define OSSDefaultTimeoutForRequestInSecond 15
  57. #define OSSDefaultTimeoutForResourceInSecond 7 * 24 * 60 * 60
  58. #endif /* OSSDefine_h */