sendBinary

abstract fun sendBinary(scope: CoroutineScope, bytes: ByteArray): Job

异步发送一条二进制消息。

Return

一个代表发送操作的 Job 对象。

Parameters

scope

执行此异步操作的协程作用域。

bytes

要发送的字节数组。