vertx / io.vertx.reactivex.ext.stomp / StompClientConnection / writingFrameHandler

# writingFrameHandler

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

Configures a handler notified when a frame is going to be written on the wire. This handler can be used from logging, debugging. The handler can modify the received frame.

If a writing frame handler is set on the io.vertx.reactivex.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.reactivex.ext.stomp.StompClientConnection