send

abstract fun send(data: ByteArray)

Sends a binary message asynchronously.

There is no flow control. If the application is sending messages too fast, the connection is closed.


abstract fun send(text: String)

Sends a text message asynchronously.

There is no flow control. If the application is sending messages too fast, the connection is closed.