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

# textMessageHandler

`abstract fun textMessageHandler(handler: Handler<String>): WebSocketBase`

Set a text message handler on the connection. This handler will be called similar to the , but the buffer will be converted to a String first

### Parameters

`handler` - the handler

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