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
Roy Hyunjin Han
2e2496cd4c
Merge pull request #32 from Vodalys/reconnect_namespaces
...
Automatically reconnect transport to existing namespaces
2013-11-21 08:00:34 -08:00
Frédéric Sureau
9c1766b806
Automatically reconnect transport to existing namespaces
2013-11-21 16:20:45 +01:00
Roy Hyunjin Han
68d9639a56
Removed extra debugging statements
v0.5.3
2013-11-20 08:17:44 -08:00
Roy Hyunjin Han
3c73bc9b55
Added TODO
2013-11-20 08:16:03 -08:00
Roy Hyunjin Han
38e72dc304
Fixed calling on_connect() so that it is called only once; fixes #31
2013-11-20 08:07:12 -08:00
Roy Hyunjin Han
5ccb32f338
Exit the loop if the client wants to disconnect; fixes #30
2013-11-18 10:43:31 -08:00
Roy Hyunjin Han
1506e22458
Set heartbeat_interval to half of the heartbeat_timeout
2013-11-18 09:45:09 -08:00
Roy Hyunjin Han
e7529e5487
Replaced secure=True with host=' https://example.com '
v0.5.2
2013-11-17 13:40:36 -08:00
Roy Hyunjin Han
a60e19fb54
Merge pull request #28 from Burstaholic/master
...
Always send heartbeats to prevent server timeout; fixes #29
2013-11-17 12:46:29 -08:00
Travis Odom
43261b2347
Always send heartbeats to prevent server timeout
2013-11-12 19:11:38 -06:00
Roy Hyunjin Han
579d0493d8
Added instructions for debugging information
2013-11-12 09:51:05 -08:00
Roy Hyunjin Han
1a16e98d32
Updated README
2013-11-07 06:55:37 -08:00
Roy Hyunjin Han
81c6d513a5
Updated CHANGES
v0.5.1
2013-11-06 18:35:09 -08:00
Roy Hyunjin Han
e75fbeb2e3
Added test to cover #25
2013-11-06 18:29:26 -08:00
Roy Hyunjin Han
65c4160c8e
Fixes #25
2013-11-06 10:26:49 -08:00
Roy Hyunjin Han
13b482e075
Fixes #24
2013-11-06 09:57:28 -08:00
Roy Hyunjin Han
1a3e1270dd
Raw unicode literals are not supported in Python3
2013-11-03 18:28:57 -08:00
Roy Hyunjin Han
2c381142d4
Updated CHANGES
v0.5
2013-11-03 17:50:03 -08:00
Roy Hyunjin Han
7c18bc5dfc
Added credits
2013-11-03 17:35:32 -08:00
Roy Hyunjin Han
be05a0699f
Updated README
2013-11-03 17:23:09 -08:00
Roy Hyunjin Han
0751dc3484
Fixed _JSONP_PollingTransport
2013-11-03 17:16:59 -08:00
Roy Hyunjin Han
28cfadc593
Fixed _XHR_PollingTransport
2013-11-03 15:03:34 -08:00
Roy Hyunjin Han
018e566049
Debugging alternate transports
2013-11-03 11:59:54 -08:00
Roy Hyunjin Han
096d41c072
Fixes #23 #21 #20 #18
2013-11-03 01:01:29 -08:00
Roy Hyunjin Han
d97afb9d2a
Updated goals
2013-11-01 16:14:23 -07:00
Roy Hyunjin Han
3c04878dfe
Updated MANIFEST.in
2013-10-11 06:50:48 -07:00
Roy Hyunjin Han
9cb0c51573
Updated TODO
2013-07-18 18:27:42 -07:00
Roy Hyunjin Han
9a13cd5fb7
Fixes #17
2013-05-08 00:36:09 -07:00
Roy Hyunjin Han
01f1d0d06c
Updated README
v0.4
2013-04-26 10:27:51 -07:00
Roy Hyunjin Han
f9e093efbb
Fixes #7 and #16
2013-04-26 10:19:41 -07:00
Roy Hyunjin Han
1fc0316541
Fixes #15
2013-04-26 09:54:10 -07:00
Roy Hyunjin Han
4f7185b074
Merged 0.4
2013-04-26 09:42:16 -07:00
Roy Hyunjin Han
a84f2f40bb
Updated CHANGES
2013-04-26 09:39:42 -07:00
Roy Hyunjin Han
77a8e72c1f
Fixes #6
2013-04-26 09:34:47 -07:00
Roy Hyunjin Han
18d2a1ea8c
Added support for acks thanks to zratic
2013-04-24 09:58:30 -07:00
Roy Hyunjin Han
61918597b7
Updated README
2013-04-18 09:26:23 -07:00
Roy Hyunjin Han
fc2ddfe46b
Updated README
2013-04-18 09:25:37 -07:00
Roy Hyunjin Han
25922c5b03
Updated README
2013-04-18 09:12:20 -07:00
Roy Hyunjin Han
75d1fa2adc
Merged Channel functionality into BaseNamespace
2013-04-18 08:58:52 -07:00
Roy Hyunjin Han
f725889de7
Assumed that websockets use unicode and not ascii
2013-04-18 08:15:47 -07:00
Roy Hyunjin Han
133bd6f309
Added emit with callback in serve_tests
2013-04-18 07:32:46 -07:00
Roy Hyunjin Han
1669e90177
Updated TODO
2013-04-15 09:01:33 -07:00
Roy Hyunjin Han
ee91f82171
Preparing to merge changes from zratic
2013-04-15 01:15:21 -07:00
Roy Hyunjin Han
187c6fbca1
Reviewed code
2013-04-14 23:23:30 -07:00
Roy Hyunjin Han
0d3e9a56ee
Merge pull request #12 from lukashed/master
...
Added fallback in case args is empty; thanks to code from lukashed.
2013-03-19 17:30:53 -07:00
Lukas Klein
efc79c9ad3
Fallback if args is empty
2013-03-11 23:11:41 +01:00
Roy Hyunjin Han
4f39d1f922
Added tests for Channel.message()
2013-02-21 09:08:58 -08:00
Roy Hyunjin Han
0368202f2b
Passed tests
2013-02-19 08:10:35 -08:00
Roy Hyunjin Han
01bfefdd8b
Trying to refactor the damn code to remove cyclic references
2013-02-13 08:27:58 -08:00