flask-uwsgi-websocket
flask-uwsgi-websocket copied to clipboard
π High-performance WebSockets for your Flask apps powered by uWSGI.
I don't know the reason why the connection failed chrome:  shell:  code: ``` from flask import Flask, render_template from flask_uwsgi_websocket import WebSocket app = Flask(__name__) ws = WebSocket(app)...
The `Advanced Usage` section in the README says that `ws.environ` should be used where `ws = WebSocket(app)`. However, WebSocket and descendants don't have an environ member. It looks like a...
Inside of websocket handlers, the flask request context doesn't currently exist. This makes it difficult to do things like access cookies, and also breaks compatibility with other flask plugins (like...
This module is not WSGI compliant. PEP-333 rules **start_response callable must be called** before wsgi app returns (or starts yielding), and here it isn't for websocket requests, which could make...
The asyncio formulation seems to only allow text websocket framesβ this is a small change which overrides the Websocket client's `send_binary()` function to be an asyncio coroutine, and ensures that...
README.rst says to enable asyncio support with the environment variable: UWSGI_PROFLILE=asyncio ... but "PROFLILE" is misspelled, which causes the build to silently ignore the option and fail to use the...
Hi, I wanted to use [pypi2deb](https://github.com/p1otr/pypi2deb) to easily convert this package into a deb package for debian and debian derivates. The problem is that pypi2deb relies on correct Python version...
This might at first sound like a silly request, but there are many ways to install uwsgi, and not all are understood by pip. If I have uwsgi installed through...
We try to only use HTTPS in our dev environments (mkcert is helpful here) to avoid any issues when running in prod. So we'd like to disable the default HTTP...