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
|
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
|
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
|
3a9d7a9d43
|
Provide API for selecting which adapter to load.
|
2012-01-08 22:19:48 +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
|
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
|
530ce4b71d
|
Initial pass at extracting Rainbows support from Cramp.
|
2012-01-07 12:25:34 +00:00 |
|
James Coglan
|
301f259811
|
protocol property should be '' if not set.
|
2011-12-21 01:18:26 +00:00 |
|
James Coglan
|
8db7041a73
|
Fix arity error when constructing a Draft75Parser.
|
2011-12-21 01:16:33 +00:00 |
|
James Coglan
|
870c300608
|
Get rake-compiler to build the gem.
|
2011-12-20 21:55:18 +00:00 |
|
James Coglan
|
0347f5f0b8
|
Implement the complete frame parsing protocol for draft-75/76.
|
2011-12-20 20:12:37 +00:00 |
|
James Coglan
|
d88e6cd7bf
|
Rename Protocol8Parser to HybiParser.
|
2011-12-19 21:28:54 +00:00 |
|
James Coglan
|
00fa92e13c
|
Don't use map() to generate masks.
|
2011-12-19 09:59:50 +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
|
069d9fa0b6
|
Add #protocol method to parsers.
|
2011-12-19 00:12:38 +00:00 |
|
James Coglan
|
b7a7a643c0
|
Close on failed handshake with the right code.
|
2011-12-19 00:09:13 +00:00 |
|
James Coglan
|
e5fa350112
|
Implement subprotocol negotiation.
|
2011-12-19 00:05:41 +00:00 |
|
James Coglan
|
7368f4edef
|
Include C extension in the gem.
|
2011-12-18 11:24:12 +00:00 |
|
James Coglan
|
7f4880fd0e
|
Rewrite masking routine in C.
|
2011-12-18 10:48:57 +00:00 |
|
James Coglan
|
5597932c84
|
Closing codes should be masked.
|
2011-12-18 08:33:58 +00:00 |
|
James Coglan
|
458fd62357
|
Rewrite Protocol8Parser#frame.
|
2011-12-17 19:20:17 +00:00 |
|
James Coglan
|
5e84debaa3
|
Improve protocol-8 parser performance by reading in chunks rather than byte-by-byte.
|
2011-12-17 18:57:51 +00:00 |
|
James Coglan
|
a07e6c4741
|
Inline a draft-75 parsing function.
|
2011-12-17 17:51:06 +00:00 |
|
James Coglan
|
82e41ed58a
|
Move Protocol8Parser::Handshake into its own file.
|
2011-12-17 17:33:14 +00:00 |
|
James Coglan
|
7f88e28ba5
|
Fix draft-76 sockets when running behind HAProxy.
|
2011-12-04 21:32:58 +00:00 |
|
James Coglan
|
58e369fbfd
|
Fix add_event_listener interface.
|
2011-11-29 13:12:58 +00:00 |
|
James Coglan
|
f4ea6b3557
|
Include links to relevent API specs.
|
2011-11-27 02:21:09 +00:00 |
|
James Coglan
|
b439f92a83
|
Remove the Publisher mixin.
|
2011-11-26 18:23:08 +00:00 |
|
James Coglan
|
3b83de82a0
|
Fix the browser test page.
|
2011-11-24 23:44:08 +00:00 |
|
James Coglan
|
b5f3d52c3b
|
Default to port 443 for wss connections.
|
2011-11-22 09:25:15 +00:00 |
|
James Coglan
|
4c56867cf3
|
Require forwardable in lib.
|
2011-11-22 02:28:57 +00:00 |
|
James Coglan
|
1f419b2f36
|
Require eventmachine in lib.
|
2011-11-22 02:03:06 +00:00 |
|
James Coglan
|
9ea2a6dbd0
|
Extract WebSocket classes from Faye 0.7.
|
2011-11-22 01:07:15 +00:00 |
|