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

Extensions for io.vertx.core.http.HttpServer

closeAwait

suspend fun HttpServer.closeAwait(): Unit

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

listenAwait

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

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