Hi! First off, thank you for building and maintaining flask-sock, and for all your other websocket work. It's great!
I'm adding websockets to a Flask app that needs to register its routes dynamically. I'm using Flask.add_url to do this for normal HTTP handlers, which works fine, but it looks like flask-sock currently only has the @route decorator. Any thoughts on how I could register routes dynamically with flask-sock?
Hi! First off, thank you for building and maintaining flask-sock, and for all your other websocket work. It's great!
I'm adding websockets to a Flask app that needs to register its routes dynamically. I'm using
Flask.add_url
to do this for normal HTTP handlers, which works fine, but it looks like flask-sock currently only has the@route
decorator. Any thoughts on how I could register routes dynamically with flask-sock?Thanks in advance!