suspend fun HttpServer.listenAwait(port: Int, host: String): HttpServer
Like io.vertx.core.http.HttpServer but supplying a handler that will be called when the server is actually listening (or has failed).
listenHandler
- the listen handler
Return
suspend fun HttpServer.listenAwait(address: SocketAddress): HttpServer
Tell the server to start listening on the given address supplying a handler that will be called when the server is actually listening (or has failed).
address
- the address to listen on
listenHandler
- the listen handler
Return
suspend fun HttpServer.listenAwait(port: Int): HttpServer
Like io.vertx.core.http.HttpServer but supplying a handler that will be called when the server is actually listening (or has failed).
listenHandler
- the listen handler
Return
suspend fun HttpServer.listenAwait(): HttpServer
Like io.vertx.core.http.HttpServer but supplying a handler that will be called when the server is actually listening (or has failed).
listenHandler
- the listen handler
Return