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

# webSocketAwait

`suspend fun HttpClient.webSocketAwait(port: Int, host: String, requestURI: String): WebSocket`

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

### Parameters

`port` - the port

`host` - the host

`requestURI` - the relative URI

Return

WebSocket

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

`suspend fun HttpClient.webSocketAwait(host: String, requestURI: String): WebSocket`

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

### Parameters

`host` - the host

`requestURI` - the relative URI

Return

WebSocket

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

`suspend fun HttpClient.webSocketAwait(requestURI: String): WebSocket`

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

### Parameters

`requestURI` - the relative URI

Return

WebSocket

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

`suspend fun HttpClient.webSocketAwait(options: WebSocketConnectOptions): WebSocket`

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

### Parameters

`options` - the request options

Return

WebSocket

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