UploadRequest
public class UploadRequest : DataRequest
DataRequest
subclass which handles Data
upload from memory, file, or stream using URLSessionUploadTask
.
-
Type describing the origin of the upload, whether
See moreData
, file, or stream.Declaration
Swift
public enum Uploadable
-
The
UploadableConvertible
value used to produce theUploadable
value for this instance.Declaration
Swift
public let upload: UploadableConvertible
-
Uploadable
value used by the instance.Declaration
Swift
public var uploadable: UploadRequest.Uploadable?
-
Declaration
Swift
public override func cleanup()