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

sendAwait

suspend fun <T> HttpRequest<T>.sendAwait(): HttpResponse<T>

Send a request, the handler will receive the response as an io.vertx.ext.web.client.HttpResponse.

Parameters

handler -