TRCConnectionStubResponse Class Reference
Inheritance diagram for TRCConnectionStubResponse:

Properties

NSData * data
 
NSError * error
 
NSUInteger statusCode
 
NSDictionary * headers
 
NSString * mime
 
NSTimeInterval delayInSeconds
 

Instance Methods

(instancetype) - initWithResponseData:mime:headers:status:
 
(instancetype) - initWithConnectionError
 
(instancetype) - initWithContentNotFoundError
 

Property Documentation

◆ data

- (NSData*) data
readnonatomicstrong

◆ error

- (NSError*) error
readnonatomicstrong

◆ statusCode

- (NSUInteger) statusCode
readnonatomicassign

◆ headers

- (NSDictionary*) headers
readnonatomicstrong

◆ mime

- (NSString*) mime
readnonatomicstrong

◆ delayInSeconds

- (NSTimeInterval) delayInSeconds
readwritenonatomicassign

Method Documentation

◆ initWithResponseData:mime:headers:status:()

- (instancetype) initWithResponseData: (NSData *)  data
mime: (NSString *)  mime
headers: (NSDictionary *)  headers
status: (NSUInteger)  status 

◆ initWithConnectionError()

- (instancetype) initWithConnectionError

◆ initWithContentNotFoundError()

- (instancetype) initWithContentNotFoundError