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
It's common to decide what to do next according to the status (open or closed) of "WebSocketSession".
And we know WebSocketSession#closeStatus can be used as a workaround to know whether a session has been closed but it's troublesome to check the status of a session in that way.
Solution
Expose a public method like "isClosed" to indicate whether the connection has been closed in WebSocketSession (WebFlux)