MultipartPostClientImpl

http client implementation just for update firmware

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun close()

close connection

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

Send a HTTP request of multipart post and receive the response.