vertx / io.vertx.kotlin.ext.web.client / io.vertx.ext.web.client.HttpRequest / sendMultipartFormAwait

sendMultipartFormAwait

suspend fun <T> HttpRequest<T>.sendMultipartFormAwait(body: MultipartForm): HttpResponse<T>

Like io.vertx.ext.web.client.HttpRequest but with an HTTP request body multimap encoded as form and the content type set to multipart/form-data. You may use this method to send attributes and upload files.

Parameters

body - the body

handler -