Purpose
We need to implement flask-socketio which is a library dedicated to allowing the use of the JS library Socket-iO within Flask projects. This will be used to allow our Matrix Server to establish a WebSocket connection to our users.
End Behavior
Once a user visits our web application at / the Server should be able to establish a WebSocket connection with the user's device.
This will require us to refactor our current views beyond / to send data through the Socket instead of responding through request/response behavior.
Purpose We need to implement
flask-socketio
which is a library dedicated to allowing the use of the JS librarySocket-iO
within Flask projects. This will be used to allow our Matrix Server to establish a WebSocket connection to our users.End Behavior Once a user visits our web application at
/
the Server should be able to establish a WebSocket connection with the user's device.This will require us to refactor our current views beyond
/
to send data through the Socket instead of responding through request/response behavior.