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

# close

`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.reactivex.core.net.NetServer#close` but supplying a handler that will be notified when close is complete.

### Parameters

`completionHandler` - the handler