vertx / io.vertx.core.net / NetServer / close

# close

`abstract fun close(): Unit`

Close the server. This will close any currently open connections. The close may not complete until after this method has returned.

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

Like `#close` but supplying a handler that will be notified when close is complete.

### Parameters

`completionHandler` - the handler