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
WebSocketConnection provides access to HandshakeRequest, which exposes useful information about the incoming HTTP request, such as headers.
However, it does not provide the remote IP address of the peer.
Access to the remote address is important for use cases such as rate limiting, auditing, and logging.
Implementation ideas
This should be a relatively straightforward change, as the remote address is already available in HandshakeRequestImpl but is not currently exposed via a public method.
Possible approaches:
Add a getRemoteAddress() method to HandshakeRequest.