vertx / io.vertx.kotlin.core.http / io.vertx.core.http.HttpClient / sendAwait

sendAwait

suspend fun HttpClient.sendAwait(options: RequestOptions): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

options - the request options

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(options: RequestOptions, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(options: RequestOptions, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

options - the request options

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String, headers: MultiMap): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

port - the port

host - the host

requestURI - the relative URI

headers - the headers

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String, headers: MultiMap, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String, headers: MultiMap, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

port - the port

host - the host

requestURI - the relative URI

headers - the headers

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

port - the port

host - the host

requestURI - the relative URI

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, port: Int, host: String, requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

port - the port

host - the host

requestURI - the relative URI

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String, headers: MultiMap): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

host - the host

requestURI - the relative URI

headers - the headers

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String, headers: MultiMap, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String, headers: MultiMap, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

host - the host

requestURI - the relative URI

headers - the headers

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

host - the host

requestURI - the relative URI

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, host: String, requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

host - the host

requestURI - the relative URI

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String, headers: MultiMap): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

requestURI - the relative URI

headers - the headers

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String, headers: MultiMap, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String, headers: MultiMap, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

requestURI - the relative URI

headers - the headers

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

requestURI - the relative URI

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.

suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.sendAwait(method: HttpMethod, requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.send

Parameters

method - the HTTP method

requestURI - the relative URI

body - the request body

Return

HttpClientResponse

NOTE: This function has been automatically generated from io.vertx.core.http.HttpClient using Vert.x codegen.