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 targetLocation

Discussion

Whether this request used the primary or secondary location.

Declared In

AZSRequestResult.h

  startTime

The timestamp at which the request started.

@property (copy) NSDate *startTime

Discussion

The timestamp at which the request started.

Declared In

AZSRequestResult.h

  responseAvailable

Whether or not the response is available.

@property BOOL responseAvailable

Discussion

Whether or not the response is available.

Declared In

AZSRequestResult.h

  endTime

The end time for this request.

@property (copy) NSDate *endTime

Discussion

The end time for this request.

Declared In

AZSRequestResult.h

  response

The raw NSHTTPURLResponse from this request.

@property (strong, AZSNullable) NSHTTPURLResponse *response

Discussion

The raw NSHTTPURLResponse from this request.

Declared In

AZSRequestResult.h

  serviceRequestID

The request ID on the service.

@property (copy, AZSNullable) NSString *serviceRequestID

Discussion

The request ID on the service.

Declared In

AZSRequestResult.h

  serviceRequestDate

The timestamp of the request, according to the service.

@property (copy, AZSNullable) NSDate *serviceRequestDate

Discussion

The timestamp of the request, according to the service.

Declared In

AZSRequestResult.h

  contentReceivedLength

The content-length of the rsponse.

@property NSUInteger contentReceivedLength

Discussion

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 *contentReceivedMD5

Discussion

The Content-MD5 header of the response, if present. Note that this is not the MD5 calculated by the library.

Declared In

AZSRequestResult.h

  etag

The etag in the response, if present.

@property (copy, AZSNullable) NSString *etag

Discussion

The etag in the response, if present.

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 *error

Discussion

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 *calculatedResponseMD5

Discussion

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