sendBinary

abstract suspend fun sendBinary(frameData: ByteString)(source)

Sends a web socket binary frame.

This method suspends until the underlying web socket implementation has processed the message. Some implementations don't provide any ways to track when exactly the message is sent. For those implementations, this method returns immediately without suspending.