Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
Properties | List of all members
PTDiffusionHTTPResponse Class Reference

Introduction

Representation of the HTTP Response received from the server.

Inheritance diagram for PTDiffusionHTTPResponse:

Properties

NSInteger statusCode
 Status code as defined by RFC 2616, section 6.1.1.
 
NSString * reasonPhrase
 Reason Phrase as defined by RFC 2616, section 6.1.1.
 
NSDictionary< NSString *, NSString * > * headers
 The headers of the HTTP response.
 
NSData * bodyData
 The message body of the HTTP response.
 

Property Documentation

◆ bodyData

- (NSData*) bodyData
readnonatomicassign

The message body of the HTTP response.

Will be nil if there was no message body.

◆ reasonPhrase

- (NSString*) reasonPhrase
readnonatomicassign

Reason Phrase as defined by RFC 2616, section 6.1.1.

The Reason-Phrase is intended to give a short textual description of the Status-Code.

◆ statusCode

- (NSInteger) statusCode
readnonatomicassign

Status code as defined by RFC 2616, section 6.1.1.

The Status-Code element is a 3-digit integer result code of the attempt to understand and satisfy the request.