createOrContinueUpload

suspend fun ResumableClient.createOrContinueUpload(path: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): ResumableUpload(source)
suspend fun ResumableClient.createOrContinueUpload(path: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): ResumableUpload(source)

Creates a new resumable upload or continues an existing one. If there is an url in the cache for the given Fingerprint, the upload will be continued.

Parameters

file

The file to upload

path

The path to upload the data to

options

The options for the upload

Creates a new upload or continues an existing one from the given uri

Parameters

path

The path to upload the file to

uri

The uri of the file to upload (make sure you have access to it)

options

The options for the upload