File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ automatically for you.
73
73
API
74
74
---
75
75
Flask-uWSGI-Websocket automatically performs the WebSocket handshake for you
76
- and passes your router a websocket client exposing `uWSGI's WebSocket API
76
+ and passes your route handler a websocket client exposing `uWSGI's WebSocket API
77
77
<http://uwsgi-docs.readthedocs.org/en/latest/WebSockets.html#api> `_.
78
78
79
79
``websocket.recv() ``
@@ -88,5 +88,9 @@ and passes your router a websocket client exposing `uWSGI's WebSocket API
88
88
89
89
``websocket.send_binary_from_sharedarea(id, pos) ``
90
90
91
- In addition there is a special ``websocket.receive() `` method which makes using
92
- non-blocking calls simpler.
91
+ In addition there is a special ``websocket.receive() `` method which tries to
92
+ make non-blocking calls simpler. When using the ``WebSocket `` plugin, it blocks
93
+ making it appropriate for threaded or multiprocess concurrency models. When
94
+ using ``GeventWebSocket `` it'll take advantage of gevent and make a
95
+ non-blocking recv call. ``AsyncWebsocket `` should do roughly the same thing,
96
+ but currently plain ``--async `` concurrency model is a bit buggy with uWSGI 2.0.
You can’t perform that action at this time.
0 commit comments