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

# requestAwait

`suspend fun HttpClient.requestAwait(options: RequestOptions): HttpClientRequest`

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

### Parameters

`options` - the request options

Return

HttpClientRequest

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

`suspend fun HttpClient.requestAwait(method: HttpMethod, port: Int, host: String, requestURI: String): HttpClientRequest`

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

### Parameters

`method` - the HTTP method

`port` - the port

`host` - the host

`requestURI` - the relative URI

Return

HttpClientRequest

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

`suspend fun HttpClient.requestAwait(method: HttpMethod, host: String, requestURI: String): HttpClientRequest`

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

### Parameters

`method` - the HTTP method

`host` - the host

`requestURI` - the relative URI

Return

HttpClientRequest

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

`suspend fun HttpClient.requestAwait(method: HttpMethod, requestURI: String): HttpClientRequest`

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

### Parameters

`method` - the HTTP method

`requestURI` - the relative URI

Return

HttpClientRequest

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