You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is kinda a duplicate of #57 but I cannot figure out how your approach works in my setup.
So you said the remote IP would be receivable by using server.environ[sid]
However we are not using a instance of the Server class nor I have access to a sid as far as I know.
My setup (using a normal flask app):
socketio = SocketIO(app, logger=True)
@socketio.on('chat_message')
def handle_message(message):
ip = x #TODO
The text was updated successfully, but these errors were encountered:
I know this is kinda a duplicate of #57 but I cannot figure out how your approach works in my setup.
So you said the remote IP would be receivable by using
server.environ[sid]
However we are not using a instance of the Server class nor I have access to a sid as far as I know.
My setup (using a normal flask app):
The text was updated successfully, but these errors were encountered: