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
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 req_parts.
However this wouldn't work with connections initialized with the ws transport (see the req_parts doc for more info) so another way could be to add it to the headers map.
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: