Diffusion Apple API  6.5.13
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
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. More...
 
NSString * reasonPhrase
 Reason Phrase as defined by RFC 2616, section 6.1.1. More...
 
NSDictionary< NSString
*, NSString * > * 
headers
 The headers of the HTTP response.
 
NSData * bodyData
 The message body of the HTTP response. More...
 

Property Documentation

- (NSData*) bodyData
readnonatomicassign

The message body of the HTTP response.

Will be nil if there was no message body.

- (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.

- (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.