abstract fun closeHandler(handler: Handler<Void>): WebSocketBase
Set a close handler. This will be called when the WebSocket is closed.
handler - the handler
handler
Return a reference to this, so the API can be used fluently