vertx / io.vertx.reactivex.core.http / HttpServer / close

close

open fun close(): Unit

Close the server. Any open HTTP connections will be closed.

The close happens asynchronously and the server may not be closed until some time after the call has returned.

open fun close(completionHandler: Handler<AsyncResult<Void>>): Unit

Like io.vertx.reactivex.core.http.HttpServer#close but supplying a handler that will be called when the server is actually closed (or has failed).

Parameters

completionHandler - the handler