DataChannelSender interface
DataChannel-Absender
Eigenschaften
channel |
|
max |
Methoden
close() | |
send |
|
set |
Details zur Eigenschaft
channelId
channelId: number
Eigenschaftswert
number
maxMessageSize
maxMessageSize: number
Eigenschaftswert
number
Details zur Methode
close()
function close()
sendMessage(Uint8Array)
function sendMessage(data: Uint8Array): Promise<void>
Parameter
- data
-
Uint8Array
Gibt zurück
Promise<void>
setParticipants(CommunicationIdentifier[])
function setParticipants(participants: CommunicationIdentifier[])
Parameter
- participants