open fun close(): Unit
Close the server. This will close any currently open connections. The close may not complete until after this method has returned.
open fun close(completionHandler: Handler<AsyncResult<Void>>): Unit
Like io.vertx.rxjava.core.net.NetServer#close but supplying a handler that will be notified when close is complete.