Tells the delegate that the task finished transferring data.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
The session containing the task whose request finished transferring data.
The task whose request finished transferring data.
If an error occurred, an error object indicating how the transfer failed, otherwise
Server errors are not reported through the
error parameter. The only errors your delegate receives through the
error parameter are client-side errors, such as being unable to resolve the hostname or connect to the host.