UploadOperation

public class UploadOperation<R: Uploadable>: BaseOperation

An NSOperation that executes the Uploadable asynchronously or when added to a NSOperationQueue

  • The underlying Alamofire.UploadRequest.

    Declaration

    Swift

    public let request: UploadRequest
  • 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()