Commit Graph
102 Commits
Author SHA1 Message Date
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 b22275ba47 Expose ping API for EventSource. 2012-02-11 14:06:01 +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 aa0f52271b Show build status in the readme. 2012-02-08 21:59:38 +00:00
James Coglan 66f12bdbfe Set encoding correctly. 2012-02-08 21:54:34 +00:00
James Coglan 1df9583f31 Make shared examples load first. 2012-02-08 21:53:05 +00:00
James Coglan 2f5dd08d51 Travis CI configuration. 2012-02-08 21:38:51 +00:00
James Coglan 16f01f2a3a Bump em-rspec. 2012-01-29 14:11:30 +00:00
James Coglan 6c1e2d46e2 Bump version to 0.3.0. 2012-01-13 21:46:05 +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 8792e7c6eb Document the :retry and :ping options for EventSource. 2012-01-12 01:42:08 +00:00
James Coglan 031e885e6a Periodically send 'ping' frames to keep the EventSource connection open. 2012-01-12 01:23:47 +00:00
James Coglan 90f3884a4b Make sure EventSource retry is written as an integer. 2012-01-12 01:10:22 +00:00
James Coglan 44bf2c6e71 Preserve exact line delimiters when framing EventSource messages. 2012-01-12 01:00:20 +00:00
James Coglan ba7e011631 Add EventSource documentation. 2012-01-12 00:22:47 +00:00
James Coglan b7ae87db02 Remove underscores from a couple methods. 2012-01-12 00:03:34 +00:00
James Coglan 4bb4b25063 Take _ out of EventSource source path. 2012-01-12 00:00:08 +00:00
James Coglan 2b6270b7bf Replace EM::Connection#web_socket with #socket_stream. 2012-01-11 23:57:12 +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 b7fd4c63fc Separate all EventSource lines with CR-LF. 2012-01-11 23:24:05 +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 0e2772bcbe Make EventSource run on Goliath. 2012-01-11 00:44:08 +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 1de7d2d1c9 Select which adapter to load dynamically from the stored list of constants. 2012-01-10 00:26:59 +00:00
James Coglan c1a41fcdc8 Require StringIO. 2012-01-09 08:56:54 +00:00
James Coglan 247579b9cb Add running instructions to examples/config.ru. 2012-01-09 02:04:11 +00:00
James Coglan 3566e88f6a Remove some text about client versions from the README. 2012-01-09 01:52:23 +00:00
James Coglan e617fdf5ab Bump copyright year. 2012-01-08 23:08:11 +00:00
James Coglan 3a9d7a9d43 Provide API for selecting which adapter to load. 2012-01-08 22:19:48 +00:00
James Coglan 609ea17025 Document usage with Goliath. 2012-01-08 22:10:11 +00:00
James Coglan de41f1afef Minimize monkey-patching done to Rainbows. 2012-01-08 22:03:29 +00:00
James Coglan 3c78540003 Make Goliath adapter work for draft-76. 2012-01-08 21:52:51 +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 8b24f04c21 Correct thin start command. 2012-01-08 17:53:32 +00:00
James Coglan a929e816e1 Fix a typo in README. 2012-01-07 22:06:13 +00:00
James Coglan 0f9be134c4 Reorder the docs to put command-line server APIs first. 2012-01-07 16:07:23 +00:00
James Coglan ec8500689a Fix a typo. 2012-01-07 16:00:40 +00:00
James Coglan 8686828aad Update documentation for running apps with Thin and Rainbows. 2012-01-07 15:57:43 +00:00
James Coglan 2949c0b711 Remove unnecessary coupling to Connection#write from Rainbows adapter; writing can be done through the Rack #each callback. 2012-01-07 15:26:15 +00:00
James Coglan 3157147fab Pass request body from draft-76 handshake through the Rainbows adapter. 2012-01-07 15:23:23 +00:00
James Coglan 110ac87cd2 Make Rainbows and Thin development dependencies since both are optional. 2012-01-07 14:06:26 +00:00
James Coglan 19eeb5ffd2 Include Rainbows server in automated tests. 2012-01-07 12:55:17 +00:00
James Coglan 530ce4b71d Initial pass at extracting Rainbows support from Cramp. 2012-01-07 12:25:34 +00:00
James Coglan 0cd610eef8 Correct readme on default value of WebSocket#protocol. 2011-12-21 19:47:25 +00:00
James Coglan 5df6b9efc4 Update repository location. 2011-12-21 17:06:12 +00:00