Hi,

I'm using the Jetty WebSocket API (for Jetty 11, if that makes a difference). 
I'm looking at the documentation for the OnWebSocketError event, and it says 
that this will close the session. However, I'm unable to find out whether this 
will in turn trigger the OnWebSocketClose event.

Essentially I want to know if I can put cleanup code under the OnWebSocketClose 
event, or if I have to also put it under OnWebSocketError to guarantee it 
executes if the websocket closes due to an error.

--
James Reeves

_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to