RKRequestDelegate Protocol Reference
Declared in | RKRequest.h |
Tasks
-
– request:didLoadResponse:
Sent when a request has finished loading
-
– request:didFailLoadWithError:
Sent when a request has failed due to an error
-
– requestDidStartLoad:
Sent when a request has started loading
-
– request:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:
Sent when a request has uploaded data to the remote site
-
– requestDidCancelLoad:
Sent to the delegate when a request was cancelled
-
– requestDidTimeout:
Sent to the delegate when a request has timed out. This is sent when a backgrounded request expired before completion.
Instance Methods
request:didFailLoadWithError:
Sent when a request has failed due to an error
- (void)request:(RKRequest *)request didFailLoadWithError:(NSError *)error
Declared In
RKRequest.h
request:didLoadResponse:
Sent when a request has finished loading
- (void)request:(RKRequest *)request didLoadResponse:(RKResponse *)response
Declared In
RKRequest.h
request:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:
Sent when a request has uploaded data to the remote site
- (void)request:(RKRequest *)request didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
Declared In
RKRequest.h
requestDidCancelLoad:
Sent to the delegate when a request was cancelled
- (void)requestDidCancelLoad:(RKRequest *)request
Declared In
RKRequest.h