Instance Method

urlSession(_:task:didFinishCollecting:)

Tells the delegate that the session finished collecting metrics for the task.

Declaration

optional func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)

Parameters

session

The session collecting the metrics.

task

The task whose metrics have been collected.

metrics

The collected metrics.

See Also

Collecting Task Metrics

class URLSessionTaskMetrics

An object encapsulating the metrics for a session task.