UploadOperation
public class UploadOperation : ConcurrentOperation
extension UploadOperation: URLSessionTaskDelegate
Undocumented
-
Undocumented
Declaration
Swift
public internal(set) var data: Data?
-
Undocumented
Declaration
Swift
public internal(set) var response: HTTPURLResponse?
-
Undocumented
Declaration
Swift
public internal(set) var error: Error?
-
Undocumented
Declaration
Swift
public var dataCompletionBlock: ((Data) -> Void)?
-
Undocumented
Declaration
Swift
public weak var delegate: UploadOperationDelegate?
-
Undocumented
Declaration
Swift
public init(urlRequest: URLRequest, fileURL: URL)
-
Undocumented
Declaration
Swift
public convenience init(urlRequst: URLRequest, fileURL: URL, dataCompletionBlock: ((Data?) -> Void)?)
-
Undocumented
Declaration
Swift
override public func execute()
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64)