Instance Property


The number of redirects that occurred during the execution of the task.


var redirectCount: Int { get }

See Also

Accessing Task Metrics

var transactionMetrics: [URLSessionTaskTransactionMetrics]

An array of metrics for each individual request-response transaction made during the execution of the task.

class URLSessionTaskTransactionMetrics

An object that encapsualtes the performance metrics collected by the URL Loading System during the execution of a session task.

var taskInterval: DateInterval

The time interval between when a task is instantiated and when the task is completed.