vertx / io.vertx.core.http / HttpConnection / closeHandler

closeHandler

abstract fun closeHandler(handler: Handler<Void>): HttpConnection

Set a close handler. The handler will get notified when the connection is closed.

Parameters

handler - the handler to be notified

Return
a reference to this, so the API can be used fluently