vertx / io.vertx.reactivex.core.http / WebSocketBase / frameHandler

frameHandler

abstract fun frameHandler(handler: Handler<WebSocketFrame>): WebSocketBase

Set a frame handler on the connection. This handler will be called when frames are read on the connection.

Parameters

handler - the handler

Return
a reference to this, so the API can be used fluently