SessionTaskContainer
public protocol SessionTaskContainer
Convenience for NetworkingProvider
implementations that ultimate rely on a URLSessionTask
.
-
Underlying networking task that can report request progress.
Declaration
Swift
var task: URLSessionTask { get }
-
transferMetrics
Extension methodExtracts transfer metrics using bytes counts from
URLSessionTask
.Declaration
Swift
public var transferMetrics: RequestTransferMetrics { get }