vertx / io.vertx.reactivex.core.http / ServerWebSocket / writeTextMessage

writeTextMessage

open fun writeTextMessage(text: String): WebSocketBase

Overrides WebSocketBase.writeTextMessage

Writes a (potentially large) piece of text data to the connection. This data might be written as multiple frames if it exceeds the maximum WebSocket frame size.

Parameters

text - the data to write

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