Dear Jetty users,

I have questions related to WebSocketListener implementation like the one
here:

https://www.eclipse.org/jetty/documentation/current/jetty-websocket-api-listener.html

Should I call session.close() method in the callbacks onWebSocketClose and
onWebSocketError in order to "properly" close the connection?

Also, when onWebSocketError was called, does it mean the websocket
connection is closed? Or does it mean a temporary failure and should I
retry calling session.getRemote().sendString(message,null) again?

Thank you
Alex
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to