public class SessionDataTask
Represents a session data task in
ImageDownloader. It consists of an underlying
an array of
TaskCallbacks could be added for a single downloading data task.
Represents the type of token which used for cancelling a task.
public typealias CancelToken = Int
Downloaded raw data of current task.
public private(set) var mutableData: Data
The underlying download task. It is only for debugging purpose when you encountered an error. You should not modify the content of this task or start it yourself.
public let task: URLSessionDataTask