Roy Hyunjin Han
43c294f6e6
Merge changes
2015-02-23 11:06:24 -05:00
Roy Hyunjin Han
6627e360d7
Fix python3 ReferenceError
2015-02-16 14:23:46 -05:00
Roy Hyunjin Han
502e54d7bb
Update acknowledgments for 0.5.4
2015-02-16 11:09:45 -05:00
Roy Hyunjin Han
f8a3d7cbe6
Fix #53 #61 #63
2015-02-15 18:25:01 -05:00
Roy Hyunjin Han
4dea8b080e
Hide unneccessary attributes
2015-02-15 17:17:07 -05:00
Roy Hyunjin Han
66c11a0a37
Fix #46
2015-02-15 16:18:08 -05:00
Roy Hyunjin Han
526a4df25e
Merge conflicts
2015-02-15 15:26:46 -05:00
Roy Hyunjin Han
e98f98f9a2
Merge #48
2015-02-15 13:54:19 -05:00
Roy Hyunjin Han
0c8dda1316
Ensure that recv timeout is less than heartbeat timeout #34
2015-02-15 11:18:57 -05:00
Roy Hyunjin Han
3aab1f1436
Merge conflicts
2015-02-15 10:50:20 -05:00
Roy Hyunjin Han
47b5f2dd69
Merge conflicts
2015-02-15 10:37:56 -05:00
Roy Hyunjin Han
18cf130d9e
Fix #40
2015-02-15 10:20:11 -05:00
Roy Hyunjin Han
5f7937dc1e
Add stream=True #45
2015-02-15 08:48:27 -05:00
Sean Arietta
8e23fc73a5
Switched from multiprocessing to thread
2015-01-31 21:54:04 -08:00
Roy Hyunjin Han
c1e4924717
Merge pull request #37 from leth/patch-3
...
Catch AttributeError in client connected check
2015-01-09 22:15:36 +09:00
Roy Hyunjin Han
ee425459bd
Merge pull request #39 from bradjc/on-reconnect
...
Make on_reconnect callback functional
2015-01-09 22:14:58 +09:00
Roy Hyunjin Han
315b795a91
Merge conflicts
2015-01-09 22:11:45 +09:00
Roy Hyunjin Han
698d083665
Merge pull request #60 from valhallasw/master
...
Python 3: use urllib.parse.urlparse
2015-01-09 20:35:58 +09:00
Roy Hyunjin Han
b394c8a55a
Merge contribution from leth
2015-01-09 20:23:31 +09:00
Roy Hyunjin Han
cdfbe55203
Merge pull request #55 from stackmagic/allow-nonstandart-resource
...
allow to pass in a different resource than just 'socket.io'
2015-01-09 20:07:54 +09:00
Roy Hyunjin Han
d73d6145f3
Merge pull request from drewhutchinson
2015-01-09 20:02:52 +09:00
Merlijn van Deen
f44485d3e2
Python 3: use urllib.parse.urlparse
2014-12-30 17:37:37 +01:00
Sean Arietta
ef64649a2a
Added support for forcing websocket connections if available. Also fixed a small bug that seemed to be causing a race condition on first connections due to a failure to consume a packet on opening the default namespace
2014-12-25 23:27:19 -08:00
Sean Arietta
5af21af575
Small updates that fix a couple of connection issues
2014-12-25 22:52:47 -08:00
Sean Arietta
b059cdf02c
Re-arranged the call order of connecting to avoid interrupted connections
2014-12-25 14:06:32 -08:00
Sean Arietta
a1f37e8e60
Added an event queue so that emitted events that failed can be automatically retried upon reconnection. Also fixed a potential infinite loop bug wrt reconnecting automatically
2014-12-23 21:38:42 -08:00
Sean Arietta
6932d4c2d1
Added connection error handling for all send / recv related methods so that we can reconnect on all connection errors
2014-12-23 19:15:50 -08:00
Sean Arietta
455890a700
Added more documentation
2014-12-23 02:37:53 -08:00
Sean Arietta
66e563acc3
Updated implementation to allow callbacks and arg handling that is consistent with reference javascript implementation.
2014-12-23 02:19:41 -08:00
Sean Arietta
f4a96c72d0
Updates to get XHR polling working correctly. Mostly encode/decode issues.
2014-12-22 22:08:15 -08:00
Sean Arietta
2d1257bf8f
Client now attempts to reconnect forever on server disconnect and correctly reconnects
2014-12-22 21:46:05 -08:00
Sean Arietta
5c1d38ac86
Implemented ack callbacks
2014-12-22 18:39:58 -08:00
Sean Arietta
16c64437d3
Medium-sized refactor. Converted all methods away from old 'code' paradigm to use the PacketType and MessageType enums directly
2014-12-22 17:43:42 -08:00
Sean Arietta
07a5cc4c63
Events are working on a per-namespace basis now
2014-12-22 16:49:16 -08:00
Sean Arietta
57971b5f71
Added support for websockets via upgrade paradigm. Also added support for series of packets in responses rather than assuming single packets each time. Added support for all message fields in socket.io protocol
2014-12-22 16:29:58 -08:00
Sean Arietta
d64e947aac
Checkpoint for updates. Namespaces are working. Events are working. Reconnects working. Disconnects working. Need to implemenet ACKs / callbacks, WebSocket transport, and JSONP transport
2014-12-22 00:36:09 -08:00
Sean Arietta
37bd6786d7
Checkpoint
2014-12-20 16:28:22 -08:00
Roy Hyunjin Han
9611d5d107
Merge pull request #57 from jorgen-k/master
...
Fix SSL timeout error thansk to jorgen-k
2014-11-26 22:43:16 -05:00
Roy Hyunjin Han
64d1c010a9
Update __init__.py
2014-11-18 10:42:57 -05:00
jorgen
b0d67b98af
Version bump
2014-09-23 06:27:27 +02:00
antonzy
9a80988e26
Migrate to 3.4
2014-09-22 17:08:44 +03:00
Patrick Huber
9285f3da02
allow to pass in a different resource than just 'socket.io'
2014-07-28 09:09:59 +02:00
Krenair
3d12aa8a28
Check for ImportError rather than any exception
2014-05-11 16:32:29 +01:00
Krenair
c35316f158
Run under Python 3
...
This will make the code I wrote in :
http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076373.html
actually work in modern versions of Python.
2014-05-11 15:54:18 +01:00
drewhutchison
8f97e73bac
check for exit condition before transport reconnects
2014-02-12 15:07:36 -07:00
Brad Campbell
e16652c4cc
Make on_reconnect callback functional
...
Previously, if the socket.io connection got interrupted and reconnected
the on_connect callback got called again. I noticed that there is a
on_reconnect function to overide in the base namespace class, but since
there is no socket.io command corresponding to on_reconnect it never
gets called.
This commit adds a check to see if we have been connected before, and if
so, calls the on_reconnect callback instead of the on_connect callback agin.
2014-01-10 18:29:57 -05:00
Daniel
6bef8c0009
heartbeat_time independent from elapse_time
2014-01-01 14:48:15 +01:00
Marcus Cobden
fa454b5950
Catch AttributeError in client connected check
...
If the client has never connected, there will be no __transport attribute.
2013-12-23 13:46:37 +00:00
David Buchmann
09199c10df
Add context aware logmessages to the socketio client
2013-12-17 18:29:46 +01:00
Marcus Cobden
d05683262b
Pass on wait timeout to underlying transports
2013-12-09 10:16:22 +00:00