Sha256: 772925d85fcfbd221a6a803be725a5cf25c865a89878115ed933ff153b55b23a

Contents?: true

Size: 568 Bytes

Versions: 23

Compression:

Stored size: 568 Bytes

Contents

[Constructor(in DOMString url, in optional DOMString protocol)]
interface WebSocket {
  readonly attribute DOMString URL;

  // ready state
  const unsigned short CONNECTING = 0;
  const unsigned short OPEN = 1;
  const unsigned short CLOSED = 2;
  readonly attribute unsigned short readyState;
  readonly attribute unsigned long bufferedAmount;

  // networking
           attribute Function onopen;
           attribute Function onmessage;
           attribute Function onclose;
  boolean send(in DOMString data);
  void close();
};
WebSocket implements EventTarget;

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
webidl-0.2.2 spec/fixtures/websocket.idl
webidl-0.2.1 spec/fixtures/websocket.idl
webidl-0.1.10 spec/fixtures/websocket.idl
webidl-0.2.0 spec/fixtures/websocket.idl
webidl-0.1.9 spec/fixtures/websocket.idl
webidl-0.1.8 spec/fixtures/websocket.idl
webidl-0.1.7 spec/fixtures/websocket.idl
webidl-0.1.6 spec/fixtures/websocket.idl
webidl-0.1.5 spec/fixtures/websocket.idl
webidl-0.1.4 spec/fixtures/websocket.idl
webidl-0.1.3 spec/fixtures/websocket.idl
webidl-0.1.2 spec/fixtures/websocket.idl
webidl-0.1.1 spec/fixtures/websocket.idl
webidl-0.1.0 spec/fixtures/websocket.idl
webidl-0.0.9 spec/fixtures/websocket.idl
webidl-0.0.8 spec/fixtures/websocket.idl
webidl-0.0.7 spec/fixtures/websocket.idl
webidl-0.0.6 spec/fixtures/websocket.idl
webidl-0.0.5 spec/fixtures/websocket.idl
webidl-0.0.4 spec/fixtures/websocket.idl