AZSRequestResult Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AZSRequestResult.h AZSRequestResult.m |
Overview
An AZSRequestResult contains all data from a single request.
AZSRequestResult is distinguished from AZSOperationContext because the AZSOperationContext represents an entire operation, which may contain multiple requests (if the operation retries, or requires multiple HTTP requests.)
targetLocation
Whether this request used the primary or secondary location.
@property AZSStorageLocation targetLocationDiscussion
Whether this request used the primary or secondary location.
Declared In
AZSRequestResult.h
startTime
The timestamp at which the request started.
@property (copy) NSDate *startTimeDiscussion
The timestamp at which the request started.
Declared In
AZSRequestResult.h
endTime
The end time for this request.
@property (copy) NSDate *endTimeDiscussion
The end time for this request.
Declared In
AZSRequestResult.h
response
The raw NSHTTPURLResponse from this request.
@property (strong, AZSNullable) NSHTTPURLResponse *responseDiscussion
The raw NSHTTPURLResponse from this request.
Declared In
AZSRequestResult.h
serviceRequestID
The request ID on the service.
@property (copy, AZSNullable) NSString *serviceRequestIDDiscussion
The request ID on the service.
Declared In
AZSRequestResult.h
serviceRequestDate
The timestamp of the request, according to the service.
@property (copy, AZSNullable) NSDate *serviceRequestDateDiscussion
The timestamp of the request, according to the service.
Declared In
AZSRequestResult.h
contentReceivedLength
The content-length of the rsponse.
@property NSUInteger contentReceivedLengthDiscussion
The content-length of the rsponse.
Declared In
AZSRequestResult.h
contentReceivedMD5
The Content-MD5 header of the response, if present. Note that this is not the MD5 calculated by the library.
@property (copy, AZSNullable) NSString *contentReceivedMD5Discussion
The Content-MD5 header of the response, if present. Note that this is not the MD5 calculated by the library.
Declared In
AZSRequestResult.h
error
The error in this request. This could be a server error (with an HTTP Status Code >= 400), or a client error.
@property (copy, AZSNullable) NSError *errorDiscussion
The error in this request. This could be a server error (with an HTTP Status Code >= 400), or a client error.
Declared In
AZSRequestResult.h
calculatedResponseMD5
The MD5 that was calculated for the response to this request, if known. This is unrelated to the Content-MD5 header of the request.
@property (copy, AZSNullable) NSString *calculatedResponseMD5Discussion
The MD5 that was calculated for the response to this request, if known. This is unrelated to the Content-MD5 header of the request.
Declared In
AZSRequestResult.h