There is no current way to stop a connection of a client from the server.
Flask socketio have a disconnect function that can be used to stop the connection of the current client. This can be used in few cases like when the authentication failed, etc.
Ref: https://flask-socketio.readthedocs.org/en/latest/#flask.ext.socketio.disconnect
There is no current way to stop a connection of a client from the server.
Flask socketio have a
disconnectfunction that can be used to stop the connection of the current client. This can be used in few cases like when the authentication failed, etc.Ref: https://flask-socketio.readthedocs.org/en/latest/#flask.ext.socketio.disconnect