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

postAwait

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

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

Parameters

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.postAwait(host: String, requestURI: String, headers: MultiMap, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(host: String, requestURI: String, headers: MultiMap, body: ReadStream<Buffer>): HttpClientResponse

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

Parameters

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.postAwait(requestURI: String, headers: MultiMap, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(requestURI: String, headers: MultiMap, body: ReadStream<Buffer>): HttpClientResponse

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

Parameters

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.postAwait(options: RequestOptions, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(options: RequestOptions, body: ReadStream<Buffer>): HttpClientResponse

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

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.postAwait(port: Int, host: String, requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(port: Int, host: String, requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

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

Parameters

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.postAwait(host: String, requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(host: String, requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

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

Parameters

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.postAwait(requestURI: String, body: Buffer): HttpClientResponse
suspend fun HttpClient.postAwait(requestURI: String, body: ReadStream<Buffer>): HttpClientResponse

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

Parameters

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.