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