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