UploadableConvertible - SwiftDocOrg/Alamofire GitHub Wiki

UploadableConvertible

A type that can produce an UploadRequest.Uploadable value.

public protocol UploadableConvertible

Requirements

createUploadable()

Produces an UploadRequest.Uploadable value from the instance.

func createUploadable() throws -> UploadRequest.Uploadable

Throws

Any Error produced during creation.

Returns

The UploadRequest.Uploadable.