Contents

originalRequest

The original request object passed when the task was created.

Declaration

var originalRequest: URLRequest? { get }

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