send

fun send(message: ByteArray)

Enqueues a final binary frame for sending with the specified content.


fun send(message: String)

Enqueues a text frame for sending with the specified content.