Signed Upload Transport
interface SignedUploadTransport
Injectable asynchronous byte transport for pre-authorized upload locations.
Inheritors
Functions
Link copied to clipboard
abstract fun enqueue(source: UploadSource, url: String, method: String = "PUT", offset: Long = 0, length: Long = source.contentLength, headers: Map<String, String> = emptyMap(), timeoutMillis: Long? = null, handle: UploadHandle = UploadHandle(), onProgress: (UploadProgress) -> Unit = {}, onSuccess: (SignedUploadResult) -> Unit, onFailure: (Exception) -> Unit): UploadHandle
Enqueues one signed upload and reports progress and completion asynchronously.