If you get an event on onClose() then you have transitioned from
CONNECTED/OPEN to CLOSING in the WebSocket state.
That merely indicates that the close handshake has begun.
It could have been locally initiated, it could have been remote initiated.
It doesn't really matter which side started it,
Good evening, the doc
https://www.eclipse.org/jetty/javadoc/current/org/eclipse/jetty/websocket/api/WebSocketConnectionListener.html
says, that when onWebSocketClose is called, then the session is closed
automatically.
But what about the other callback - the onWebSocketError?
As a developer,