DataChannelSender interface
DataChannel 发送方
属性
channel |
|
max |
方法
close() | |
send |
|
set |
属性详细信息
channelId
channelId: number
属性值
number
maxMessageSize
maxMessageSize: number
属性值
number
方法详细信息
close()
function close()
sendMessage(Uint8Array)
function sendMessage(data: Uint8Array): Promise<void>
参数
- data
-
Uint8Array
返回
Promise<void>
setParticipants(CommunicationIdentifier[])
function setParticipants(participants: CommunicationIdentifier[])
参数
- participants