Andor Goetzendorff
05c4bf02fe
client now ignores unsupported upgrades
2013-01-17 17:35:18 +01:00
Raynos
eb4d91bde9
Do not shadow global XMLHttpRequest
...
If you use the XMLHttpRequest variable name then the if
typeof XMLHttpRequest === 'undefined' check will always
return false and the XHR polling method is never used.
This is needed because JSONP polling is buggy and doesn't emit
close when server shutsdown. JSONP should be fixed / disabled.
2013-01-06 17:03:52 -08:00
Guillermo Rauch
2e07479ef0
socket: added data event (as synonym to message)
2012-12-17 00:10:24 -03:00
Guillermo Rauch
ab70697913
socket: remove resource and fix path
2012-12-16 20:52:01 -03:00
Guillermo Rauch
a7d4d192d6
socket: fixed access to opts
2012-12-16 20:51:53 -03:00
Guillermo Rauch
00a5640a12
socket: constructor can accept uri/opts simultaneously
2012-12-16 20:34:18 -03:00
Guillermo Rauch
3b032f74ec
socket: proper host/hostname support
2012-12-16 20:03:23 -03:00
Guillermo Rauch
1ba966b865
socket: ensure onclose idempotency
2012-12-16 19:55:37 -03:00
Guillermo Rauch
0514526653
socket: added onerror instrumentation
2012-12-16 19:55:24 -03:00
Guillermo Rauch
55076c3f56
socket: fix style
2012-12-16 19:52:33 -03:00
Sérgio Ramos
23315f46a9
use window to detect platform and fix global reference
2012-12-12 16:43:49 +00:00
Sérgio Ramos
942581c64f
*: fix references to global ( fixes #79 )
2012-12-10 20:27:18 +00:00
Guillermo Rauch
adadcdfbe8
*: fix references to global ( fixes #79 )
2012-12-10 12:10:20 -03:00
Guillermo Rauch
37ac529df7
emitter: added back WebSocket compat
2012-12-10 03:34:38 -03:00
Guillermo Rauch
157f0f94d4
socket: export constructors and utils
2012-12-08 20:13:45 -03:00
Guillermo Rauch
bfbe9ef288
polling-xhr: fixed emitter require
2012-12-08 20:10:32 -03:00
Guillermo Rauch
4c7725c267
socket: export protocol
2012-12-08 19:56:21 -03:00
Guillermo Rauch
6d7272d79a
emitter: re-export Emitter
2012-12-08 19:55:01 -03:00
Guillermo Rauch
ddd9ee491b
lib: removed engine.io-client aggregation
2012-12-08 19:50:09 -03:00
Guillermo Rauch
9e8a3bd0b3
socket: added compatibility with pre-1.0.0
2012-12-08 19:43:35 -03:00
Guillermo Rauch
65abecb780
*: use local emitter wrapper
2012-12-08 19:43:21 -03:00
Guillermo Rauch
05b0137ed1
emitter: added emitter to remove try/catch ugliness from modules and add node-compatible methods
2012-12-08 19:41:56 -03:00
Guillermo Rauch
3269a7f849
polling-xhr: implemented emitter component
2012-12-08 19:32:43 -03:00
Guillermo Rauch
16a853cfb5
*: fix comments
2012-12-08 19:32:31 -03:00
Guillermo Rauch
a763f20560
engine.io-client: remove EventEmitter exposure
2012-12-08 19:21:39 -03:00
Guillermo Rauch
5b6f52e23b
socket: make Socket self-initializable for component require
2012-12-08 19:19:07 -03:00
Guillermo Rauch
dfd49f3a08
socket: use emitter component
2012-12-08 19:18:47 -03:00
Guillermo Rauch
00116f8aa1
transport: use emitter component
2012-12-08 19:18:25 -03:00
Guillermo Rauch
f8b85462c1
lib: added index for component
2012-12-08 19:11:43 -03:00
Guillermo Rauch
6186b8ecce
emitter-component: you are a component, go away
2012-12-08 18:55:31 -03:00
Guillermo Rauch
a58d6f32c6
flashsocket: fix typo
2012-12-08 18:45:17 -03:00
Guillermo Rauch
1d24b66d77
websocket: removed meta debug usage
2012-12-08 18:44:41 -03:00
Guillermo Rauch
03260845c4
polling: remove meta debug usage
2012-12-08 18:44:21 -03:00
Guillermo Rauch
35b8052411
polling-xhr: remove meta debug usage
2012-12-08 18:44:06 -03:00
Guillermo Rauch
d786653b5d
flashsocket: remove meta debug usage
2012-12-08 18:43:13 -03:00
Guillermo Rauch
50c05f9f50
util: remove if node
2012-12-08 18:42:59 -03:00
Raynos
5bfd8ee5a8
BROWSERIFY SUPPORT
2012-12-06 22:44:36 -08:00
Guillermo Rauch
c48842d7ce
Release 0.3.10
2012-12-03 09:05:45 -03:00
Guillermo Rauch
0cb254539e
socket: fix closing the socket in an open listener [mmastrac]
2012-12-03 08:53:46 -03:00
Guillermo Rauch
31460d8407
socket: perform ping interval/timer cleanup [mmastrac]
2012-12-03 08:44:25 -03:00
Fedor Indutny
fcbe68da1f
socket: handle probe's transport errors
2012-10-31 19:25:59 +04:00
Guillermo Rauch
d2860a21c1
lib: corrected version
2012-10-23 13:58:48 -07:00
Guillermo Rauch
f2103618f4
socket: fix hostname instead of host
2012-10-23 13:13:53 -07:00
Guillermo Rauch
ddafee2eb6
socket: avoid duplicate port defaults
2012-10-23 13:04:52 -07:00
Guillermo Rauch
e8fc999733
Release 0.3.8
2012-10-23 11:18:53 -07:00
Guillermo Rauch
1337467608
socket: introduce introspection hooks
2012-10-23 11:17:47 -07:00
Guillermo Rauch
1b4d987ec1
socket: introduced host and port location defaults
2012-10-21 11:01:53 -07:00
Guillermo Rauch
8617f464cc
flashsocket: obfuscate activex ( fixes #31 )
2012-10-21 09:51:49 -07:00
Guillermo Rauch
c9445ce647
polling-xhr: obfuscate activex
2012-10-21 09:48:28 -07:00
Guillermo Rauch
8354de9861
socket: unset id upon close
2012-10-21 09:40:26 -07:00