vertx / io.vertx.rxjava.ext.stomp / StompClientConnection / connectionDroppedHandler

# connectionDroppedHandler

`open fun connectionDroppedHandler(handler: Handler<StompClientConnection>): StompClientConnection`

Sets a handler notified when the server does not respond to a `ping` request in time. In other words, this handler is invoked when the heartbeat has detected a connection failure with the server. The handler can decide to reconnect to the server.

### Parameters

`handler` - the handler

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection receiving the dropped connection.