Instance Property

originalRequest

The original request object passed when the task was created.

Declaration

@property(readonly, copy) NSURLRequest *originalRequest;

Discussion

This value is typically the same as the currently active request (currentRequest) except when the server has responded to the initial request with a redirect to a different URL.

See Also

Obtaining General Task Information

currentRequest

The URL request object currently being handled by the task.

response

The server’s response to the currently active request.

taskDescription

An app-provided description of the current task.

taskIdentifier

An identifier uniquely identifying the task within a given session.

error

An error object that indicates why the task failed.