docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes/UploadRequest.html
public final class UploadRequest : DataRequest, @unchecked Sendable
DataRequest subclass which handles Data upload from memory, file, or stream using URLSessionUploadTask.
`
Uploadable
`
Type describing the origin of the upload, whether Data, file, or stream.
Swift
public enum Uploadable : @unchecked Sendable
extension UploadRequest.Uploadable: UploadableConvertible
`
upload
`
The UploadableConvertible value used to produce the Uploadable value for this instance.
Swift
public let upload: any UploadableConvertible
`
fileManager
`
FileManager used to perform cleanup tasks, including the removal of multipart form encoded payloads written to disk.
Swift
public let fileManager: FileManager
`
uploadable
`
Uploadable value used by the instance.
Swift
public var uploadable: Uploadable?
`
cleanup()
`
Swift
override public func cleanup()