MultipartFormDataEncodingResult
public enum MultipartFormDataEncodingResult
Defines whether the MultipartFormData
encoding was successful and contains result of the encoding as
associated values.
- Success: Represents a successful
MultipartFormData
encoding and contains the newUploadRequest
along with streaming information. - Failure: Used to represent a failure in the
MultipartFormData
encoding and also contains the encoding error.
-
Declaration
Swift
case success(request: UploadRequest, streamingFromDisk: Bool, streamFileURL: URL?)
-
Declaration
Swift
case failure(Error)