Contents

currentRequest

The URL request object currently being handled by the task.

Declaration

var currentRequest: URLRequest? { get }

Discussion

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.

See Also

Obtaining general task information