mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Allow sending binary messages
This commit is contained in:
parent
7db485aeb2
commit
f855fbb604
2 changed files with 49 additions and 13 deletions
|
@ -24,10 +24,10 @@ interface RTCDataChannel : EventTarget {
|
|||
void close();
|
||||
attribute EventHandler onmessage;
|
||||
//attribute DOMString binaryType;
|
||||
void send(USVString data);
|
||||
//void send(Blob data);
|
||||
//void send(ArrayBuffer data);
|
||||
//void send(ArrayBufferView data);
|
||||
[Throws] void send(USVString data);
|
||||
[Throws] void send(Blob data);
|
||||
[Throws] void send(ArrayBuffer data);
|
||||
[Throws] void send(ArrayBufferView data);
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue