Instance Property

response

The server’s response to the currently active request.

Declaration

@property(readonly, copy) NSURLResponse *response;

Discussion

This object provides information about the request as provided by the server. This information always includes the original URL. It may also include an expected length, MIME type information, encoding information, a suggested filename, or a combination of these.

See Also

Obtaining General Task Information

currentRequest

The URL request object currently being handled by the task.

originalRequest

The original request object passed when the task was created.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software