Commit Graph

97 Commits

Author SHA1 Message Date
Guillermo Rauch
86adb61f28 Ensured Socket#flush checks for buffer length. 2012-01-15 22:19:07 -08:00
Guillermo Rauch
04723dd50c Re-implemented maybeUpgrade to consider upgrade packet. 2012-01-15 22:18:34 -08:00
Guillermo Rauch
18311196a2 Renamed Socket#upgrade to #maybeUpgrade 2012-01-15 22:17:54 -08:00
Guillermo Rauch
327aeee7bf Introduced upgradeTimeout. 2012-01-15 22:10:33 -08:00
Guillermo Rauch
54791e61e2 Fixed closing of polling transport callback. 2012-01-14 13:46:20 -08:00
Guillermo Rauch
cb22f219d7 Renamed close readyState to closed. 2012-01-14 11:43:33 -08:00
Guillermo Rauch
3a0759fb89 Cleaned up WebSocket#send. 2012-01-14 09:37:14 -08:00
Guillermo Rauch
88cfa04de5 Implemented WebSocket#writable. 2012-01-14 09:36:32 -08:00
Guillermo Rauch
15d420d6b2 Added instrumentation to polling payloads. 2012-01-14 09:36:09 -08:00
Guillermo Rauch
2a93f06e27 Implemented draining and orderly close to polling. 2012-01-14 09:35:39 -08:00
Guillermo Rauch
5e9e167ed4 Fixed docs. 2012-01-14 09:35:07 -08:00
Guillermo Rauch
704312271b Added instrumentation to upgrade. 2012-01-14 09:34:57 -08:00
Guillermo Rauch
83c2711009 Implemented Socket buffering/flushing:
- Fires upon upgrade
- Fires when the transport is drained.
2012-01-14 09:34:29 -08:00
Guillermo Rauch
fba2a89b79 Implemented sendPacket API homologous to client API. 2012-01-14 09:34:03 -08:00
Guillermo Rauch
a2f498ac65 Started adding buffering to Socket. 2012-01-14 09:33:01 -08:00
Guillermo Rauch
496ce56f5f Fixed docs. 2012-01-14 09:32:52 -08:00
Guillermo Rauch
89d59598c8 Syntax cleanup. 2012-01-14 09:32:42 -08:00
Guillermo Rauch
45f5b2a113 Fixed debug namespace convention. 2012-01-13 15:32:28 -08:00
Guillermo Rauch
bd7d01a190 Avoid incorrect debug output order. 2012-01-13 15:30:15 -08:00
Guillermo Rauch
c2e5d6ff61 Gotta love websocket 2012-01-04 17:46:56 -08:00
Guillermo Rauch
70f8830b3c Added doClose callback for Polling 2012-01-04 17:21:06 -08:00
Guillermo Rauch
f2043f9590 Added callback support to Polling#send, and drain event. 2012-01-04 17:20:48 -08:00
Guillermo Rauch
f51d36f584 Added closing readyState and callback to Transport#doClose 2012-01-04 17:18:12 -08:00
Guillermo Rauch
26e3d1c546 Added closing readyState. 2012-01-04 17:17:58 -08:00
Guillermo Rauch
5587282215 Added more instrumentation to polling 2012-01-04 15:40:48 -08:00
Guillermo Rauch
615c555742 Improved instrumentation. 2012-01-04 15:40:36 -08:00
Guillermo Rauch
767d770e59 Added additional verification step: handshake is only over GET. 2012-01-04 15:40:21 -08:00
Guillermo Rauch
4c7e6a675e Fixed data chunks aggregation. 2012-01-04 13:52:20 -08:00
Guillermo Rauch
001d80ac40 Fixed bind, I thought it took an array of arguments. 2012-01-04 13:52:05 -08:00
Guillermo Rauch
1a8b42debc Added missing Transport#onPacket method. 2012-01-04 13:41:38 -08:00
Guillermo Rauch
e4ee394dd5 Fixed; close packet is specific to xhr-polling transport 2012-01-04 13:41:23 -08:00
Guillermo Rauch
c20bdadef4 Added default XML response for policy requests. 2012-01-03 13:10:42 -08:00
Guillermo Rauch
d640d3252d Finished JSONP#doWrite 2012-01-03 13:10:13 -08:00
Guillermo Rauch
81877af79b Added escaping to onData 2012-01-03 13:04:26 -08:00
Guillermo Rauch
fdc60ff476 Fixed style 2012-01-03 13:00:56 -08:00
Guillermo Rauch
adb373455b Implemented WebSocket#send and WebSocket#doClose 2012-01-03 13:00:35 -08:00
Guillermo Rauch
88c6a5364b Fixed WebSocket constructor. 2012-01-03 13:00:09 -08:00
Guillermo Rauch
1273fc4f10 Simplified XHR#doWrite 2012-01-03 12:59:40 -08:00
Guillermo Rauch
3aa755e9f9 Fixed style 2012-01-03 12:59:23 -08:00
Guillermo Rauch
e398000c0e Implemented Polling#doClose 2012-01-03 12:59:07 -08:00
Guillermo Rauch
397ce64e80 Implemented Polling#write. 2012-01-03 12:58:46 -08:00
Guillermo Rauch
144ae3ef54 Fixed docs 2012-01-03 12:58:34 -08:00
Guillermo Rauch
c1316e0a52 Implemented Polling#send 2012-01-03 12:58:16 -08:00
Guillermo Rauch
3875089c3b Fixed docs 2012-01-03 12:58:07 -08:00
Guillermo Rauch
d8194a5cf0 Implemented Polling#flush 2012-01-03 12:57:49 -08:00
Guillermo Rauch
8f837a5720 Refactored Polling#onData 2012-01-03 12:55:09 -08:00
Guillermo Rauch
00291ee50a Fixed docs 2012-01-03 12:54:58 -08:00
Guillermo Rauch
4c02b31425 Implemented onDataRequest. 2012-01-03 12:52:30 -08:00
Guillermo Rauch
a9ecdcf771 Fixed docs 2012-01-03 12:52:17 -08:00
Guillermo Rauch
fc70102f79 Added poll request handler 2012-01-03 10:43:47 -08:00