websockify/include
Joel Martin 88b71ce171 Refactor and add IETF-07 protocol version support.
- Add initial IETF-07 (HyBi-07) protocol version support. This version
  still uses base64 encoding since the API for binary support is not
  yet finalized.

- Move socket send and recieve functions into the WebSocketServer
  class instead of having the sub-class do this. This simplifies
  sub-classes somewhat. The send_frame routine now returns the number
  of frames that were unable to be sent. If this value is non-zero
  then the sub-class should call again when the socket is ready until
  the pending frames count is 0.

- Do traffic reporting in the main class instead.

- When the client is HyBi style (i.e. IETF-07) then use the
  sub-protocol header to select whether to do base64 encoding or
  simply send the frame data raw (binary). Update include/websock.js
  to send a 'base64' protocol selector. Once the API support binary,
  then the client will need to detect this and set the protocol to
  'binary'.
2011-05-01 22:17:04 -05:00
..
web-socket-js Update web-socket-js to bb5797cad. 2011-03-16 10:22:31 -05:00
VT100.js fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
base64.js JSLint. 2010-09-08 10:11:11 -05:00
keysym.js fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
util.js Fix firefox 4 strict complaint. 2011-01-19 15:13:36 -06:00
websock.js Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
webutil.js fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
wsirc.js Use websock.js in latency test. Fixes for Opera. 2011-01-23 19:30:51 -06:00
wstelnet.js Only disable local echo if server is doing echo. 2011-01-13 12:19:47 -06:00