Commit Graph

30 Commits

Author SHA1 Message Date
James Coglan 390ebee4d8 Parameterize the port we run the example server on. 2013-05-12 13:19:13 +01:00
James Coglan b2472e89a6 Document the Server driver. 2013-05-12 01:31:14 +01:00
James Coglan 1124df2bf5 Add a Server driver for running WebSockets through a bare TCP server. 2013-05-12 01:13:50 +01:00
James Coglan 847bdc1773 Strip the repo down to just the protocol handlers. 2013-04-28 19:04:03 +01:00
James Coglan 62a0c7597f First steps toward streaming I/O-independent parsing. Implement the Hybi and Client protocol handlers as stateful protcol drivers with two duplex streams, one for messages and one for I/O. 2013-04-28 18:55:58 +01:00
James Coglan 0e2417cd51 Change name used in Autobahn tests. 2013-02-14 22:39:13 +00:00
James Coglan 14a1a7372d Use progress bar using Autobahn client tests. 2012-12-23 18:25:50 +00:00
James Coglan ee22f75959 Remove trailing whitespace. 2012-12-22 23:13:04 +00:00
James Coglan c958c5ead9 Don't send a message on connect from the server. 2012-02-12 23:54:03 +00:00
James Coglan fe4314e62b Revert accidental change to ws.html. 2012-02-11 12:32:51 +00:00
James Coglan e6c03b7629 Add a ping() interface to server-side WebSocket and EventSource connections. 2012-02-11 11:59:13 +00:00
James Coglan d18a818699 Do not buffer send() calls during the CONNECTING stage of WebSocket clients -- browsers throw an error in this case. 2012-02-11 11:30:28 +00:00
James Coglan 6de9e01e69 Buffer calls to ws.send() until the handshake is completed. 2012-02-11 11:22:28 +00:00
James Coglan a8ab367a0f Provide usable and accurate (HAProxy-safe) onopen event on the server side. 2012-02-07 23:39:42 +00:00
James Coglan 22a3507dad Correct EventSource error handler. 2012-01-13 21:24:54 +00:00
James Coglan 3ba69e4242 Correct variable name in WebSocket example. 2012-01-12 22:32:52 +00:00
James Coglan cc3581fd0c Reorder handlers in example server. 2012-01-12 20:18:00 +00:00
James Coglan 20dd83257a Implement EventSource connection handler. 2012-01-12 19:48:59 +00:00
James Coglan 48dfb9578c Merge branch 'master' into subprotocols
Conflicts:
	lib/faye/websocket.js
	lib/faye/websocket/protocol8_parser.js
2011-12-17 15:37:54 +00:00
James Coglan 15f1b4df99 Remove benchmark page. 2011-12-17 15:20:30 +00:00
James Coglan 5635baf3a7 Don't skip any Autobahn tests since they run fast enough now. 2011-12-17 15:13:28 +00:00
James Coglan 0ea03585f9 Add benchmarking page. 2011-12-16 21:11:23 +00:00
James Coglan 2dbac35b15 Only send Sec-WebSocket-Protocol response if there is a matching protocol available. 2011-12-15 20:05:03 +00:00
James Coglan 283b13b617 Initial support for user-defined subprotocol negotiation on the server side. 2011-12-15 00:33:23 +00:00
James Coglan 7e2461e153 Fix draft-76 sockets when running behind HAProxy. 2011-12-04 21:15:24 +00:00
James Coglan 8f1739e41c Change example back to using onmessage. 2011-11-29 21:08:37 +00:00
James Coglan 642532f928 Use addEventListener to listen for messages in examples. 2011-11-29 13:08:22 +00:00
James Coglan 97595ff415 Add secure connection support to examples. 2011-11-26 19:05:25 +00:00
James Coglan e4d2bc6270 Add HTML test page, log incoming socket URL and version, and fix bugs in draft-76 parser. 2011-11-24 23:55:54 +00:00
James Coglan f710c3025c Add README and examples. 2011-11-24 02:29:14 +00:00