BatchUploader

class BatchUploader(openConnection: (URL) -> HttpURLConnection = { it.openConnection() as HttpURLConnection })

Constructors

Link copied to clipboard
constructor(openConnection: (URL) -> HttpURLConnection = { it.openConnection() as HttpURLConnection })

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
suspend fun upload(batch: BatchArchive, server: String, token: String, progress: (Long, Long) -> Unit): String