Konstantin Ponomarev
4dfdddde0d
feat: routers and examples for routers
1 week ago
Konstantin Ponomarev
1b62cd30c4
fix: ruff format
1 week ago
Pavieł Michalkievič
f1476041e5
Enable emitting to single client in managers with to=... ( #1374 )
* Enable emitting to single client in AsyncPubSubManager
* Handle `to` in async manager and sync versions
* Name tests consistently
* Rm extra blank line in test_pubsub_manager
1 year ago
Miguel Grinberg
12134bd5c5
Prevent pubsub managers from ever crashing
Fixes #1262
2 years ago
Miguel Grinberg
ef0f88f6cf
Internal code restructure (no functional changes)
2 years ago
Miguel Grinberg
d222f4c3de
Support entering and leaving rooms through pubsub client managers
2 years ago
Miguel Grinberg
8da3c617a6
Remove unneeded arguments from super()
2 years ago
Miguel Grinberg
dc6e4f516f
Message queue optimizations ( Fixes #1240 )
2 years ago
Miguel Grinberg
104d6569a0
Fixed remote async disconnects via message queue ( Fixes #1003 )
3 years ago
Miguel Grinberg
f2ae136dcd
Catch and log errors in pubsub listening thread ( Fixes #889 )
3 years ago
Sam Mosleh
f245191d86
Migrate async Redis client manager to aioredis 2.x ( Fixes #771 )
4 years ago
Miguel Grinberg
a813bde062
Handle CancelledError in async pubsub managers ( Fixes #750 )
4 years ago
Miguel Grinberg
98c7ac23f2
Improved project structure
4 years ago
Miguel Grinberg
81b0b849bd
Configure the JSON decoder for safer parsing
4 years ago
Miguel Grinberg
f6eeedb767
Remove dependency on the six package
5 years ago
Miguel Grinberg
a4cc0b2c5b
v5 protocol: client manager unit tests
5 years ago
Andrei Neagu
b0518936b9
AsyncPubSubManager does not await for can_disconnect ( #488 )
5 years ago
Miguel Grinberg
16e873dbc7
Fix endless loop when disconnecting on multi-server deployments ( Fixes #441 )
5 years ago
Miguel Grinberg
01378ef1ef
Support client disconnects with multiple servers (Fixes https://github.com/miguelgrinberg/Flask-SocketIO/issues/1174 )
6 years ago
Kelly Truesdale
da7cb86330
Logging improvements for write-only connections ( #197 )
* Make logger a property of BaseManager, configurable separately from server for write-only situations.
* Shorten line lengths for recent changes.
7 years ago
Miguel Grinberg
b3fc842c76
properly handle callbacks in multi-host configurations for asyncio
8 years ago
Miguel Grinberg
ce44133acd
redis message queue for asyncio
9 years ago
Miguel Grinberg
53d10d9f32
asyncio support
9 years ago
Miguel Grinberg
3eac53261b
Added "ignore_queue" option to bypass message queue in emits
9 years ago
Miguel Grinberg
57756e3bdc
Add write_only argument to Kombu and Redis manager classes
10 years ago
Miguel Grinberg
6ae89688d7
do not allow callbacks outside of a server context
10 years ago
Miguel Grinberg
71142aa2db
pubsub unit tests
10 years ago
Miguel Grinberg
63f5ed3429
Support for callbacks across servers
10 years ago
Miguel Grinberg
47620bbebd
initial implementation of inter-process communication
10 years ago