send

open suspend override fun send(text: String)(source)

Sends a text message through the data channel.

Parameters

text

The text message to send.

See also


open suspend override fun send(bytes: ByteArray)(source)

Sends binary data through the data channel.

Parameters

bytes

The binary data to send.

See also