MultipartFormDataPartType
public enum MultipartFormDataPartType
Enum to specify multipart/form-data parameters that can be used in upload tasks.
-
Simple key-value case.
Declaration
Swift
case value(value: String)
-
Data case with filename and content-type.
Declaration
Swift
case data(data: Data, filename: String?, contentType: String?)
-
File URL case.
Declaration
Swift
case url(_: URL)