MultipartPostClient

HTTP client interface for update firmware This interface is used in unit tests.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun request(endpoint: String, path: String, filePaths: List<String>, connectionTimeout: Long, socketTimeout: Long, callback: (Int) -> Unit?, boundary: String = BOUNDARY): ByteArray

Send a HTTP request.