flask-sock
flask-sock copied to clipboard
WebSocket support without gevent for Flask and other WSGI frameworks.
Hello there. I've ran into a large problem with (*probably*) my first time use of `Flask-Sock`. Basically, when client or server closes the connection, the browser (client) gets a "Invalid...
I want to monitoring file changes using watchdog, my question is how to send message when there is no decorator such as @sock.route('/')
In relation to issue #64, under the configuration of running Flask with Gunicorn and Gevent, a StopIteration exception is not captured by Flask, but it enters the finally clause. Consequently,...
I am trying to upgrade ,an application i am working on from flask-socket to flask-sock a while ago flask and werkzeug were upgraded from very old versions to 2.2.2 for...
I am using flask-sock with flask-appbuilder. From python side I have one main sock route: /clock It provides access to the ws to a user if it has the 'ResetMyPasswordView'...
I feel like I do not understand the reasoning behind the logic of `Sock.route`, specifically this section ```python class WebSocketResponse(Response): def __call__(self, *args, **kwargs): if ws.mode == 'eventlet': try: from...
The code (minimal example that simply closes websocket connections immediately upon creation): ```python3 import flask import flask_sock import eventlet from eventlet import wsgi eventlet.monkey_patch() app = flask.Flask(__name__) sock = flask_sock.Sock(app)...
after sometime time, emitting becomes veryyy slow and affects the entire webserver. the only fix i've found to this is restarting after an interval.
I tried copying your example (https://blog.miguelgrinberg.com/post/add-a-websocket-route-to-your-flask-2-x-application) and it just spams the page with this rendering the entire browser unresponsive. Any idea why? 
How do I deploy flask-scok application with ssl? What changes should be made?