websockify/tests
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
..
b64_vs_utf8.py Couple of misc utf8, base64 python tests. 2011-04-12 22:39:28 -05:00
base64.html Make compatible with jQuery. Slight API change. 2010-12-10 08:25:36 -06:00
base64.js wsproxy.js: Fix multi-frame decoding. 2010-11-07 22:28:08 -06:00
echo.html Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
echo.py Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
include Add mouse wheel support and input test page. 2010-05-25 11:05:55 -05:00
latency.html Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
latency.py Add latency test and browser latency test results. 2011-01-19 15:25:44 -06:00
load.html Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
load.py Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00
utf8-list.py Refactor and add IETF-07 protocol version support. 2011-05-01 22:17:04 -05:00