|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
import"WebSocket.idl";
Public Member Functions | |
| void | send (ArrayBuffer data) |
| void | send (ArrayBufferView data) |
| void | send (Blob data) |
| void | send (USVString data) |
| void | close ([Clamp] optional unsigned short code, optional DOMString reason) |
Public Member Functions inherited from EventTarget | |
| void | addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false) |
| void | removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false) |
| boolean | dispatchEvent (Event event) |
Public Attributes | |
| readonly attribute USVString | URL |
| readonly attribute USVString | url |
| const unsigned short | CONNECTING = 0 |
| const unsigned short | OPEN = 1 |
| const unsigned short | CLOSING = 2 |
| const unsigned short | CLOSED = 3 |
| readonly attribute unsigned short | readyState |
| readonly attribute unsigned long | bufferedAmount |
| attribute EventHandler | onopen |
| attribute EventHandler | onmessage |
| attribute EventHandler | onerror |
| attribute EventHandler | onclose |
| readonly attribute DOMString | protocol |
| readonly attribute DOMString | extensions |
| attribute DOMString | binaryType |
| void WebSocket::send | ( | ArrayBuffer | data | ) |
| void WebSocket::send | ( | ArrayBufferView | data | ) |
| void WebSocket::send | ( | USVString | data | ) |
| attribute DOMString WebSocket::binaryType |
| const unsigned short WebSocket::CLOSED = 3 |
| const unsigned short WebSocket::CLOSING = 2 |
| const unsigned short WebSocket::CONNECTING = 0 |
| attribute EventHandler WebSocket::onclose |
| attribute EventHandler WebSocket::onerror |
| attribute EventHandler WebSocket::onmessage |
| attribute EventHandler WebSocket::onopen |
| const unsigned short WebSocket::OPEN = 1 |
1.8.13