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

sendJsonObjectAwait

suspend fun <T> HttpRequest<T>.sendJsonObjectAwait(body: JsonObject): HttpResponse<T>

Like io.vertx.ext.web.client.HttpRequest but with an HTTP request body object encoded as json and the content type set to application/json.

Parameters

body - the body

handler -