vertx / io.vertx.reactivex.core.net / NetSocket / closeHandler

closeHandler

open fun closeHandler(handler: Handler<Void>): NetSocket

Set a handler that will be called when the NetSocket is closed

Parameters

handler - the handler

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