Conforms to NSObject
Declared in RKRequestQueue.h

Overview

Lifecycle events for an RKRequestQueue

Tasks

Starting and Stopping the Queue

Processing Requests

Instance Methods

requestQueue:didCancelRequest:

Sent when queue has canceled a request.

- (void)requestQueue:(RKRequestQueue *)queue didCancelRequest:(RKRequest *)request

Parameters

queue

The queue that cancelled the request.

request

The cancelled request.

Declared In

RKRequestQueue.h

requestQueue:didFailRequest:withError:

Sent when an attempted request fails.

- (void)requestQueue:(RKRequestQueue *)queue didFailRequest:(RKRequest *)request withError:(NSError *)error

Parameters

queue

The queue in which the request failed from.

request

The failed request.

error

An NSError object containing the RKRestKitError that caused the request to fail.

Declared In

RKRequestQueue.h

requestQueue:didLoadResponse:

Sent when queue received a response for a request.

- (void)requestQueue:(RKRequestQueue *)queue didLoadResponse:(RKResponse *)response

Parameters

queue

The queue that received the response.

response

The response that was received.

Declared In

RKRequestQueue.h

requestQueue:didSendRequest:

Sent after queue has sent a request.

- (void)requestQueue:(RKRequestQueue *)queue didSendRequest:(RKRequest *)request

Parameters

queue

The queue that processed the request.

request

The processed request.

Declared In

RKRequestQueue.h

requestQueue:willSendRequest:

Sent before queue sends a request.

- (void)requestQueue:(RKRequestQueue *)queue willSendRequest:(RKRequest *)request

Parameters

queue

The queue that will process the request.

request

The request to be processed.

Declared In

RKRequestQueue.h

requestQueueDidBeginLoading:

Sent when the queue transitions from an empty state to processing requests.

- (void)requestQueueDidBeginLoading:(RKRequestQueue *)queue

Parameters

queue

The queue that began processing requests.

Declared In

RKRequestQueue.h

requestQueueDidFinishLoading:

Sent when queue transitions from a processing state to an empty start.

- (void)requestQueueDidFinishLoading:(RKRequestQueue *)queue

Parameters

queue

The queue that finished processing requests.

Declared In

RKRequestQueue.h

requestQueueWasSuspended:

Sent when the queue has been suspended and request processing has been halted.

- (void)requestQueueWasSuspended:(RKRequestQueue *)queue

Parameters

queue

The request queue that has been suspended.

Declared In

RKRequestQueue.h

requestQueueWasUnsuspended:

Sent when the queue has been unsuspended and request processing has resumed.

- (void)requestQueueWasUnsuspended:(RKRequestQueue *)queue

Parameters

queue

The request queue that has resumed processing.

Declared In

RKRequestQueue.h