suspend fun HttpServer.closeAwait(): Unit
Like io.vertx.core.http.HttpServer but supplying a handler that will be called when the server is actually closed (or has failed). |
|
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). 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). suspend fun HttpServer.listenAwait(port: Int): HttpServer 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). |