TRCConnectionStub Class Reference
Inheritance diagram for TRCConnectionStub:

Instance Methods

(void) - setResponse:forPath:withQuery:
 
(void) - setResponse:
 
(void) - setResponseBlock:
 
(void) - setResponseText:
 
(void) - setResponseText:status:
 
(void) - setResponseWithConnectionError
 
(void) - setResponseText:forRequestPath:
 
(void) - setResponseText:status:forRequestPath:
 
(void) - setResponseTimeoutErrorForRequestPath:
 
(void) - setResponseMinDelay:maxDelay:
 
- Instance Methods inherited from <TRCConnection>
(NSMutableURLRequest *) - requestWithOptions:error:
 Creates NSURLRequest using information from TRCRequest. More...
 
(id< TRCProgressHandler >) - sendRequest:withOptions:completion:
 Sends NSURLRequest via network, then handles response using options.responseBodySerialization or writes into options.outputStream. More...
 
(TRCConnectionReachabilityState- reachabilityState
 Returns current reachability state if implemented. More...
 
(void) - setReachabilityDelegate:
 Sets TRCConnectionReachabilityDelegate, which used to get notified about reachabilityState changes. More...
 

Method Documentation

◆ setResponse:forPath:withQuery:()

- (void) setResponse: (TRCConnectionStubResponse *)  response
forPath: (NSString *)  urlPath
withQuery: (NSString *)  urlQuery 

◆ setResponse:()

- (void) setResponse: (TRCConnectionStubResponse *)  response

◆ setResponseBlock:()

- (void) setResponseBlock: (TRCConnectionStubResponseBlock block

◆ setResponseText:()

- (void) setResponseText: (NSString *)  text

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseText:status:()

- (void) setResponseText: (NSString *)  text
status: (NSUInteger)  status 

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseWithConnectionError()

- (void) setResponseWithConnectionError

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseText:forRequestPath:()

- (void) setResponseText: (NSString *)  text
forRequestPath: (NSString *)  path 

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseText:status:forRequestPath:()

- (void) setResponseText: (NSString *)  text
status: (NSUInteger)  status
forRequestPath: (NSString *)  path 

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseTimeoutErrorForRequestPath:()

- (void) setResponseTimeoutErrorForRequestPath: (NSString *)  path

Provided by category TRCConnectionStub(Shorthands).

◆ setResponseMinDelay:maxDelay:()

- (void) setResponseMinDelay: (NSTimeInterval)  minDelay
maxDelay: (NSTimeInterval)  maxDelay 

Provided by category TRCConnectionStub(Shorthands).