The URL request object currently being handled by the task.
- iOS 7.0+
- macOS 10.9+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
This value is typically the same as the initial request (
originalRequest) except when the server has responded to the initial request with a redirect to a different URL.
Obtaining General Task Information
The original request object passed when the task was created.
The server’s response to the currently active request.
An identifier uniquely identifying the task within a given session.
An error object that indicates why the task failed.
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