Add a method to retrieve the remote address #255
Labels
API (Both)
Impacts the client and server API
enhancement
Adding a new feature or improving an existing one
Milestone
AFAICT it is currently impossible (except using reflection to access specific implementation’s private properties) to retrieve the connecting user’s IP address.
Just as in ordinary HTTP connections, it could be useful to know that.
To avoid changing the APIs I guess it could be added to the existing session user properties (as done e.g. by
GettyJetty), but any standard way to obtain that would be useful, really, even adding it toHandshakeRequest
and accessing in the way suggested in #218.The text was updated successfully, but these errors were encountered: