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

# receivedFrameHandler

`open fun receivedFrameHandler(handler: Handler<Frame>): StompClientConnection`

Configures a received handler that get notified when a STOMP frame is received by the client. This handler can be used for logging, debugging or ad-hoc behavior. The frame can still be modified by the handler.

Unlike `io.vertx.rxjava.ext.stomp.StompClient#receivedFrameHandler`, the given handler won't receive the `CONNECTED` frame. If a received frame handler is set on the io.vertx.rxjava.ext.stomp.StompClient, it will be used by all clients connection, so calling this method is useless, except if you want to use a different handler.

### Parameters

`handler` - the handler

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection