FileUploadable
public protocol FileUploadable : Uploadable
Represents a FileUploadable
for Alamofire.
Create custom FileUploadable
protocol HTTPBinUploadService: FileUploadable {
typealias Response = Data
var path: String? = "post"
let url: URL = FileManager.url(forResource: "rainbow", withExtension: "png")
}
-
The url.
Declaration
Swift
var url: URL { get }