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

putAwait

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.