DownloadOperation
public class DownloadOperation<R: Downloadable>: BaseOperation
An NSOperation that executes the Downloadable
asynchronously
or when added to a NSOperationQueue
-
The underlying Alamofire.DownloadRequest.
Declaration
Swift
public let request: DownloadRequest
-
A boolean value
true
indicating the operation executes its task asynchronously.Declaration
Swift
override public var isAsynchronous: Bool
-
Starts the download.
Declaration
Swift
override public func main()
-
Cancels the download.
Declaration
Swift
override public func cancel()