-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get the remote ip? #101
Comments
Currently you can't but it is on my to-do list. This issue can serve as a tracking issue for this feature |
I'm interested in working on this issue. Thanks! |
Hi! The main issue is that there is no standardized way to manage the remote IP between http frameworks. For example, Axum is storing connect information in Therefore socketioxide can't manage remote IP in a standardized way. What could be done is documenting this case and doing examples for each framework. My main idea was to put a framework-specific middleware in front of the /socket.io path to store the client ip into the http extensions and then extract it with To summarize, currently, this issue is quite stuck. The only thing to do would be to do framework-specific example and document cases. If you want to contribute you can also take a look at the other issues :). |
No description provided.
The text was updated successfully, but these errors were encountered: