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

Extensions for io.vertx.ext.web.client.HttpRequest

sendAwait

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

Suspending version of method io.vertx.ext.web.client.HttpRequest.send

sendBufferAwait

suspend fun <T> HttpRequest<T>.sendBufferAwait(body: Buffer): HttpResponse<T>

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendBuffer

sendFormAwait

suspend fun <T> HttpRequest<T>.sendFormAwait(body: MultiMap): HttpResponse<T>

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendForm

sendJsonAwait

suspend fun <T> HttpRequest<T>.sendJsonAwait(body: Any?): HttpResponse<T>

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendJson

sendJsonObjectAwait

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

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendJsonObject

sendMultipartFormAwait

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

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendMultipartForm

sendStreamAwait

suspend fun <T> HttpRequest<T>.sendStreamAwait(body: ReadStream<Buffer>): HttpResponse<T>

Suspending version of method io.vertx.ext.web.client.HttpRequest.sendStream