vertx / io.vertx.kotlin.core.http / io.vertx.core.http.HttpServer / listenAwait

# listenAwait

`suspend fun HttpServer.listenAwait(port: Int, host: String): HttpServer`

Suspending version of method io.vertx.core.http.HttpServer.listen

### Parameters

`port` - the port to listen on

`host` - the host to listen on

Return

HttpServer

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

`suspend fun HttpServer.listenAwait(address: SocketAddress): HttpServer`

Suspending version of method io.vertx.core.http.HttpServer.listen

### Parameters

`address` - the address to listen on

Return

HttpServer

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

`suspend fun HttpServer.listenAwait(port: Int): HttpServer`

Suspending version of method io.vertx.core.http.HttpServer.listen

### Parameters

`port` - the port to listen on

Return

HttpServer

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

`suspend fun HttpServer.listenAwait(): HttpServer`

Suspending version of method io.vertx.core.http.HttpServer.listen

Return

HttpServer

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