Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

UploadRequest

mattt edited this page Sep 18, 2020 · 2 revisions

UploadRequest

DataRequest subclass which handles Data upload from memory, file, or stream using URLSessionUploadTask.

public class UploadRequest:​ DataRequest

Inheritance

DataRequest

Properties

upload

The UploadableConvertible value used to produce the Uploadable value for this instance.

let upload:​ UploadableConvertible

fileManager

FileManager used to perform cleanup tasks, including the removal of multipart form encoded payloads written to disk.

let fileManager:​ FileManager

uploadable

Uploadable value used by the instance.

var uploadable:​ Uploadable?

Methods

cleanup()

public override func cleanup()
Types
Protocols
Global Typealiases
Clone this wiki locally