Commit Graph

33 Commits

Author SHA1 Message Date
James Coglan 7d4d153702 Sort our server/ruby compatibility. Now running on Puma, Thin, old and new Rainbows, and Goliath, on MRI/JRuby/RBX. 2013-05-03 09:06:48 +01:00
James Coglan bbb641fd64 Backport changes from the rack_hijack branch to support Puma and Rainbows. 2013-05-02 08:32:41 +01:00
James Coglan 344cfa4e7c Change version name for Autobahn tests. 2013-02-14 22:07:11 +00:00
James Coglan 41a1968ed6 Remove trailing whitespace. 2013-02-10 22:58:09 +00:00
James Coglan a145cd9e96 Use ProgressBar while running the Autobahn client tests. 2012-11-02 22:41:12 +00:00
James Coglan 183e56c770 Don't send WS message on open from the server; this breaks the Autobahn tests. 2012-02-12 23:52:12 +00:00
James Coglan 78ceffffb7 Add ping API for server-side WebSocket connections. 2012-02-11 13:59:06 +00:00
James Coglan 8a7106e5a2 Implement safe onopen and message buffering for when the handshake is interrupted by a proxy. 2012-02-11 13:32:40 +00:00
James Coglan 6be12a06c2 Correct EventSource error handler. 2012-01-13 21:25:39 +00:00
James Coglan 88e247c923 Correct variable name in WebSocket example. 2012-01-12 22:33:12 +00:00
James Coglan e8ea111c63 Rename objects in app.rb. 2012-01-12 19:51:16 +00:00
James Coglan b7ae87db02 Remove underscores from a couple methods. 2012-01-12 00:03:34 +00:00
James Coglan 72e5b16ff9 Implement close events for EventSource. 2012-01-11 23:51:02 +00:00
James Coglan fb89891c42 Handle messages containing line breaks correctly. 2012-01-11 23:28:07 +00:00
James Coglan a6e556674b Implement the event:, id:, and :retry fields for EventSource, and expose the Last-Event-ID sent by the client. 2012-01-11 23:21:28 +00:00
James Coglan 33f16bd24d Initial pass at EventSource handler that runs on Thin and Rainbows. 2012-01-11 00:14:35 +00:00
James Coglan 1bd72e52a1 Make some adjustments to the WebSocket test page. 2012-01-11 00:13:01 +00:00
James Coglan 247579b9cb Add running instructions to examples/config.ru. 2012-01-09 02:04:11 +00:00
James Coglan 3a9d7a9d43 Provide API for selecting which adapter to load. 2012-01-08 22:19:48 +00:00
James Coglan 309aca6bbe Mostly working Goliath adapter. Works for Hybi both with and without HAProxy, doesn't work on draft-76. 2012-01-08 21:40:00 +00:00
James Coglan 8686828aad Update documentation for running apps with Thin and Rainbows. 2012-01-07 15:57:43 +00:00
James Coglan 530ce4b71d Initial pass at extracting Rainbows support from Cramp. 2012-01-07 12:25:34 +00:00
James Coglan ae43945626 Correct example page. 2011-12-21 01:13:25 +00:00
James Coglan 43b9e8acdb Concat onto one array rather than creating a new one when a fragment arrives. 2011-12-19 08:58:28 +00:00
James Coglan afe1674fea Update examples with subprotocol logic. 2011-12-19 00:12:51 +00:00
James Coglan 7f88e28ba5 Fix draft-76 sockets when running behind HAProxy. 2011-12-04 21:32:58 +00:00
James Coglan 4dbdef4c05 Change example back to using onmessage. 2011-11-29 21:09:08 +00:00
James Coglan 58e369fbfd Fix add_event_listener interface. 2011-11-29 13:12:58 +00:00
James Coglan 0eec6f57dd Adjust client example to get URL from the socket object. 2011-11-26 19:10:19 +00:00
James Coglan 3b83de82a0 Fix the browser test page. 2011-11-24 23:44:08 +00:00
James Coglan 2666093d03 Add HTML test page. 2011-11-24 19:11:02 +00:00
James Coglan 87cd1e875f Add SSL capability to examples. 2011-11-22 19:05:20 +00:00
James Coglan a18791b258 Add examples, which pass all the Autobahn tests. 2011-11-22 01:26:43 +00:00