vertx / io.vertx.ext.stomp / StompServer / writingFrameHandler

writingFrameHandler

abstract fun writingFrameHandler(handler: Handler<ServerFrame>): StompServer

Configures the handler that is invoked every time a frame is going to be written to the "wire". It lets you log the frames, but also adapt the frame if needed.

Parameters

handler - the handler, must not be null

Return
the current StompServer