Commit Graph

1665 Commits

Author SHA1 Message Date
Guillermo Rauch
1884aa04bb Fixed polling uri builder 2012-01-03 13:25:16 -08:00
Guillermo Rauch
7b49cdbedb Fixed doClose 2012-01-03 13:25:07 -08:00
Guillermo Rauch
21a552e7b6 Fixed Polling data handler 2012-01-03 13:24:55 -08:00
Guillermo Rauch
857e58a953 Clean up polling transport 2012-01-03 13:23:36 -08:00
Guillermo Rauch
dab713aafe Make sure to conserve the error on Request#onError 2012-01-03 13:23:15 -08:00
Guillermo Rauch
72236e944d Added debugging to Request 2012-01-03 13:23:04 -08:00
Guillermo Rauch
fd6f99d9cc Added withCredentials for CORS cookie support, improved error hadnling and ensured that we call onData outside of the try/catch 2012-01-03 13:22:26 -08:00
Guillermo Rauch
4b3d525e60 Fixed style 2012-01-03 13:22:15 -08:00
Guillermo Rauch
122d323634 Fixed style 2012-01-03 13:21:58 -08:00
Guillermo Rauch
c175b39d8d Added separate error handling to #write and #doPoll 2012-01-03 13:21:18 -08:00
Guillermo Rauch
1c93b30de9 Removed error handling from XHR#request to personalize the error 2012-01-03 13:20:54 -08:00
Guillermo Rauch
0f47a813ad Fixed XHR#doOpen 2012-01-03 13:20:40 -08:00
Guillermo Rauch
470a2e50cc Added cache busting for XHR uri and fixed style 2012-01-03 13:20:20 -08:00
Guillermo Rauch
4d998e0f8b Simplified JSONP: removed setIndex and leveraged uri() 2012-01-03 13:19:57 -08:00
Guillermo Rauch
845f71224e Moved polling polimorphic constructor to transports index 2012-01-03 13:18:30 -08:00
Guillermo Rauch
cb05bc80f6 Refactored transports index deps 2012-01-03 13:18:13 -08:00
Guillermo Rauch
f1666cbd99 Fixed flashsocket check 2012-01-03 13:18:00 -08:00
Guillermo Rauch
f5e841cbdc Fixed style and throw instead of silencing the error in Transport#send 2012-01-03 13:17:29 -08:00
Guillermo Rauch
73026b60e2 Improved Transport#onError 2012-01-03 13:17:14 -08:00
Guillermo Rauch
1c94ceec60 Expose transport options as properties. 2012-01-03 13:16:59 -08:00
Guillermo Rauch
642b965d7b Added defense to Socket#onClose 2012-01-03 13:16:33 -08:00
Guillermo Rauch
d86a766104 Added Socket#onError 2012-01-03 13:16:25 -08:00
Guillermo Rauch
3fed6df2af Fixed Socket#close and added close reason 2012-01-03 13:16:07 -08:00
Guillermo Rauch
82742c3cb3 Added method to set ping timeout 2012-01-03 13:15:51 -08:00
Guillermo Rauch
59d3310578 Added onHandshake 2012-01-03 13:15:39 -08:00
Guillermo Rauch
2ba029695f Added defense to onPacket handler 2012-01-03 13:15:03 -08:00
Guillermo Rauch
e7520a6836 Moved upgrade probes start to onOpen handler 2012-01-03 13:14:43 -08:00
Guillermo Rauch
6fae597966 Make sure to flush upon upgrade completion 2012-01-03 13:14:29 -08:00
Guillermo Rauch
e442540a45 Added error handling and closing reason to current socket transport 2012-01-03 13:14:09 -08:00
Guillermo Rauch
1cb04d41ed Removed probes upon open 2012-01-03 13:13:34 -08:00
Guillermo Rauch
6b19d655ee Make sure query object is cloned upon transport creation 2012-01-03 13:13:16 -08:00
Guillermo Rauch
cfcebef5a0 Added support for both http/ws URIs in Socket constructor. 2012-01-03 13:12:48 -08:00
Guillermo Rauch
6222cba321 Fixed event-emitter from socket.io 2012-01-03 13:12:33 -08:00
Guillermo Rauch
ebe3eb6052 Removed engine refernece passed to transport constructor. 2011-12-31 13:11:55 -05:00
Guillermo Rauch
d81aa11f8b Removed duplicate Socket#open 2011-12-31 13:11:12 -05:00
Guillermo Rauch
3d3d4218e9 Fixed websocket client dependency. 2011-12-31 09:21:13 -05:00
Guillermo Rauch
74c64863aa Added xmlhttprequest/ws dependencies. 2011-12-31 09:21:00 -05:00
Guillermo Rauch
efa41a245c Fixed; make sure to send cookies in cross domain requests. 2011-12-30 16:10:37 -05:00
Guillermo Rauch
66eb07a90b Fixed XDomainRequest type check. 2011-12-30 16:10:25 -05:00
Guillermo Rauch
9274895848 Naming change: transports emit packets not messages. 2011-12-24 15:09:59 -05:00
Guillermo Rauch
d4521a3ea4 Added pointer to main file in package.json. 2011-12-23 22:14:41 -08:00
Guillermo Rauch
f0590b1500 Added tests for qs#util 2011-12-23 12:03:10 -08:00
Guillermo Rauch
f3306ea1a1 Added util#qs 2011-12-23 12:03:01 -08:00
Guillermo Rauch
4d0d06f771 Cleaned up WS#uri 2011-12-23 12:02:31 -08:00
Guillermo Rauch
89f017579d Added Polling#uri 2011-12-23 11:55:09 -08:00
Guillermo Rauch
f28b6c84aa Fixed Polling#write 2011-12-23 11:54:52 -08:00
Guillermo Rauch
b1e46b0ce9 Fixed writeMany 2011-12-23 11:54:22 -08:00
Guillermo Rauch
238d10645a Changing write signature 2011-12-23 11:53:29 -08:00
Guillermo Rauch
648cb5b6e3 Fixed comment 2011-12-23 11:53:13 -08:00
Guillermo Rauch
1727950a72 Changing write signature 2011-12-23 11:53:00 -08:00