Class
UploadService
@objc(FSUploadService)
public final class UploadService: NSObject, NetworkingService
Service used for uploading files.
Relationships
Conforms To
NSObject
URLSessionDataDelegate
Properties
useBackgroundSession
public var useBackgroundSession: Bool = false
Whether uploads should be performed on a background process. Defaults to false
.
Methods
urlSession(_:dataTask:didReceive:completionHandler:)
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
urlSession(_:dataTask:didReceive:)
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)