DataChannelSender interface
DataChannel sender
Properties
channel |
|
max |
Methods
close() | |
send |
|
set |
Property Details
channelId
channelId: number
Property Value
number
maxMessageSize
maxMessageSize: number
Property Value
number
Method Details
close()
function close()
sendMessage(Uint8Array)
function sendMessage(data: Uint8Array): Promise<void>
Parameters
- data
-
Uint8Array
Returns
Promise<void>
setParticipants(CommunicationIdentifier[])
function setParticipants(participants: CommunicationIdentifier[])
Parameters
- participants