6. Eşler arası Veri API’si
Eşler arası Veri API’si, bir web uygulamasının eşler arasında genel uygulama verilerini gönderip almasına olanak tanır. Veri gönderme ve alma API’si, Web Sockets davranışını modeller.
6.3 RTCDataChannelEvent
datachannel olayı,
RTCDataChannelEvent arayüzünü kullanır.
WebIDL[Exposed=Window]
interface RTCDataChannelEvent : Event {
constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
readonly attribute RTCDataChannel channel;
};
Kurucular
RTCDataChannelEvent.constructor()
Yeni bir RTCDataChannelEvent oluşturur.
Öznitelikler
channel · RTCDataChannel · salt okunur
channel özniteliği, olayla ilişkili
RTCDataChannel nesnesini temsil eder.
WebIDLdictionary RTCDataChannelEventInit : EventInit {
required RTCDataChannel channel;
};
Sözlük RTCDataChannelEventInit Üyeleri
channel · RTCDataChannel · gerekli
Olay tarafından duyurulacak RTCDataChannel nesnesi.