socketIO-client/socketIO_client
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
..
__init__.py Make on_reconnect callback functional 2014-01-10 18:29:57 -05:00
exceptions.py Fixes #24 2013-11-06 09:57:28 -08:00
tests.py Exit the loop if the client wants to disconnect; fixes #30 2013-11-18 10:43:31 -08:00
transports.py Fixed calling on_connect() so that it is called only once; fixes #31 2013-11-20 08:07:12 -08:00