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.0.3 spec/fixtures/websocket.idl
webidl-0.0.2 spec/fixtures/websocket.idl
webidl-0.0.1 spec/fixtures/websocket.idl