Misha
e89171166e
added after_connect event triggering
There are cases when you want to accept connection on connect event and then after that do some additional work, for example send the latest updates to user which has just authenticated. This is not possible to do on connect event because in order to send events to the client you need to accept it's connection but for that you need to return from connect event handler and thus you cannot do anything after return.
Without this event you are forced to do this by either accepting all connections and doing authentication on another event or setting up messaging broker and delaying tasks from connect event for example with celery.
8 years ago
rettier
598568c715
assigning local ret variable to none if the asyncio task is canceled ( #164 )
8 years ago
Miguel Grinberg
af13ef067c
Recoonect to redis when connection is lost
Fixes #143
8 years ago
Miguel Grinberg
96d4e5f257
Release 1.8.4
8 years ago
Miguel Grinberg
b3fc842c76
properly handle callbacks in multi-host configurations for asyncio
8 years ago
Miguel Grinberg
8d7059a1a2
Properly handle callbacks in multi-host configurations
Fixes #150
8 years ago
Jacopo Farina
06e7cece74
aiohttp instead of flask in example HTML ( #91 )
* aiohttp instead of flask in example HTML
* page title is now python-socketio
8 years ago
Kane Blueriver
ef7088d67a
Fix backquotes usage in docs. ( #146 )
Related document of reST is here: http://www.sphinx-doc.org/en/stable/rest.html
8 years ago
Miguel Grinberg
8415a7a33c
updated socketio js client to v2.0.4 in all examples
8 years ago
Miguel Grinberg
3b702da590
Release 1.8.3
8 years ago
Miguel Grinberg
9350775634
fixed memory leak on rejected connections for asyncio
8 years ago
Miguel Grinberg
63b6908953
Release 1.8.2
8 years ago
Miguel Grinberg
66e17fb387
fixed memory leak on rejected connections
Fixes https://github.com/miguelgrinberg/Flask-SocketIO/issues/574
8 years ago
Miguel Grinberg
90b226d0e3
Release 1.8.1
8 years ago
Miguel Grinberg
7f02f7aaa9
JavaScript client sends query string attached to namespace
Fixes #124
8 years ago
Miguel Grinberg
8bba811408
Update README.rst
8 years ago
Miguel Grinberg
187c52582b
Documented protocol defaults
8 years ago
Miguel Grinberg
2faa6f56d4
Release 1.8.0
8 years ago
Alex Plugaru
358a8e118f
Made queues non-durable. Always retry after disconnect. ( #120 )
8 years ago
Miguel Grinberg
97f4faa88b
Release 1.7.7
8 years ago
Miguel Grinberg
af81132610
pass redis password in the URL
8 years ago
larry.liu
8cf035fb3a
redis pub/sub support set password ( #116 )
8 years ago
Miguel Grinberg
d0dd3e44f8
Release 1.7.6
8 years ago
Miguel Grinberg
93f70dc9e1
async_handlers option for asyncio servers
8 years ago
Miguel Grinberg
690be4fd19
fixed requirements file for python 2
8 years ago
Miguel Grinberg
1ecbf5bef0
minor improvements to django example
8 years ago
Miguel Grinberg
3531b513a8
Django example
8 years ago
Miguel Grinberg
a40e2abf63
Release 1.7.5
8 years ago
Miguel Grinberg
3ae013b90e
validate namespace in disconnect call
Fixes https://github.com/miguelgrinberg/Flask-SocketIO/issues/427
8 years ago
Miguel Grinberg
fe8a75f16b
Merge pull request #103 from Stonesjtu/patch-1
The usage of class-based namespace
8 years ago
Kaiyu Shi
8e734573a9
The usage of class-based namespace
There should be an additional `self` argument passed to
each member function of custom Namespaces.
8 years ago
Miguel Grinberg
36f8d35d08
fix misleading error message
8 years ago
Miguel Grinberg
351a568cda
Release 1.7.4
8 years ago
Miguel Grinberg
af0004d78e
Handle broadcasts to zero clients
Fixes #88
8 years ago
Miguel Grinberg
0f0d6355fb
Release 2.7.3
8 years ago
Miguel Grinberg
5b9b17c4a0
Fix variable referenced before assignment
Fixes #85
8 years ago
Miguel Grinberg
142e478737
use Python 3.6 for docs build
9 years ago
Miguel Grinberg
94eda9e8c9
Release 1.7.2
9 years ago
Miguel Grinberg
2582f286f5
websocket support for sanic
9 years ago
Miguel Grinberg
7e10afe855
Release 1.7.1
9 years ago
Miguel Grinberg
5e1391d80e
Fixed initialize() method in PubSubManager subclasses
Fixes #406
9 years ago
Miguel Grinberg
edbbbf2770
Merge pull request #71 from kenwalger/patch-1
Update README.rst
9 years ago
Ken W. Alger
d6839e9ae8
Update README.rst
Spelling correction
9 years ago
Miguel Grinberg
38af61ee1f
sanic examples (long-polling only)
9 years ago
Miguel Grinberg
ea94110559
fixed link in readme file
9 years ago
Miguel Grinberg
8e8f6dfeee
Release 1.7.0
9 years ago
Miguel Grinberg
ce44133acd
redis message queue for asyncio
9 years ago
Miguel Grinberg
2e55d7f020
updated documentation logo
9 years ago
Miguel Grinberg
43788db7a7
asyncio documentation and various fixes
9 years ago
Miguel Grinberg
83379732f9
readme file updates
9 years ago