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