Commit Graph

60 Commits

Author SHA1 Message Date
Guillermo Rauch
ad5c2ee021 transport: implemented timestamps 2012-08-01 17:23:12 -07:00
Guillermo Rauch
ece335ea17 socket: default policyPort to 843 2012-07-02 08:00:17 -07:00
Guillermo Rauch
89a1e010c7 socket: added toString to fake event sent to onmessage 2012-07-02 07:43:35 -07:00
dbc65f3b5a added flashsocket transport logic 2012-05-18 13:20:53 +03:00
Guillermo Rauch
244dba26bd Adapted code to leverage debug() 2012-04-02 12:55:53 -03:00
Guillermo Rauch
93605fd3e9 Implemented resource alongside with path. 2012-04-02 12:16:18 -03:00
Jakob Stoeck
adc67e8da3 replaced control character with space 2012-03-01 18:45:10 +01:00
Guillermo Rauch
f651cb45f0 Added basePath option. 2012-02-27 08:53:11 -03:00
Lal Jérémy
d5df4c57dd Options should take opts.secure. 2012-02-22 11:05:47 +01:00
Guillermo Rauch
aee3fd6fa0 Fixed ws compliance in onmessage. 2012-01-19 09:46:28 -08:00
Guillermo Rauch
9800e29f72 Removed notion of pingInterval 2012-01-17 09:50:10 -08:00
Guillermo Rauch
f3375a86da Revert "fixed wrong assumption on ping timeout"
This reverts commit 3012a7922b.
2012-01-17 09:32:42 -08:00
Guillermo Rauch
35d35e3980 Consistency with server 2012-01-17 09:32:34 -08:00
Guillermo Rauch
b972088e39 Merge branch 'master' of github.com:/LearnBoost/engine.io-client 2012-01-17 08:15:33 -08:00
Guillermo Rauch
3877183268 Removed unneeded .bind 2012-01-17 08:12:08 -08:00
Vladimir Dronnikov
3012a7922b fixed wrong assumption on ping timeout 2012-01-17 09:31:12 +00:00
Guillermo Rauch
44eaeeaa60 Added flashPath option. 2012-01-16 14:55:29 -08:00
Guillermo Rauch
c55bde3651 Improved socket close instrumentation. 2012-01-15 22:24:21 -08:00
Guillermo Rauch
49b1fad736 Fixed Socket#probe 2012-01-15 22:24:04 -08:00
Guillermo Rauch
5bc9c7e132 Made client buffer/flush work more like server. 2012-01-14 13:52:24 -08:00
Guillermo Rauch
81a1428da2 Merge branch 'master' into upgrade 2012-01-11 11:23:11 -08:00
Guillermo Rauch
2a521830d1 Pre-emptively assign an UID for every request. 2012-01-11 11:22:57 -08:00
Guillermo Rauch
5c3d3a5739 Improved #flush, #sendPacket. 2012-01-09 08:55:40 -08:00
Guillermo Rauch
b417e8df6e Avoid collisions between upgrading transports 2012-01-09 08:55:13 -08:00
Guillermo Rauch
a2a8ec126f Keep reference of flush bound to the instance around. 2012-01-09 08:54:50 -08:00
Guillermo Rauch
364408d0ee Implemented a public sendMany. I hate public props. 2012-01-04 16:06:21 -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
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
9274895848 Naming change: transports emit packets not messages. 2011-12-24 15:09:59 -05:00
Guillermo Rauch
973ff5cba1 Added probe qs component to probes. 2011-12-23 11:21:53 -08:00
Guillermo Rauch
eebd224afe Added extra query parameters support to createTransport 2011-12-23 11:21:31 -08:00
Guillermo Rauch
152fdd9864 Fixed transport initialization. 2011-12-22 15:46:40 -08:00
Guillermo Rauch
009715bbcb Instrumented all remaining Socket methods. 2011-12-22 15:15:06 -08:00
Guillermo Rauch
10e8f1be8b Instrumented onMessage and removed unnecessary open handler. 2011-12-22 15:14:15 -08:00
Guillermo Rauch
67f6c4c917 Added missing flush call onOpen. 2011-12-22 15:14:04 -08:00
Guillermo Rauch
dc66e2cdce Added instrumentation to Socket#probe 2011-12-22 15:13:50 -08:00
Guillermo Rauch
6b6f8486cb Listen on open Transport event. 2011-12-22 15:13:26 -08:00
Guillermo Rauch
24c73a4892 Sanity check: clear all events from previous transport in setTransport. 2011-12-22 15:12:58 -08:00