vertx / io.vertx.ext.stomp / StompClientConnection / pingHandler

pingHandler

abstract fun pingHandler(handler: Handler<StompClientConnection>): StompClientConnection

Sets a handler that let customize the behavior when a ping needs to be sent to the server. Be aware that changing the default behavior may break the compliance with the STOMP specification.

Parameters

handler - the handler

Return
the current StompClientConnection