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

writeBinaryMessage

abstract fun writeBinaryMessage(data: Buffer): WebSocketBase

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

Parameters

data - the data to write

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