Hi there, I've been playing with websockets in Jetty 9, I'm currently using 2013-04-08. Clearly the api is in flux somewhat so examples on the t'internet seem to be a little out of date. Also for alot of the client source, many of the relevent git links reference dead or defunct branches and stacks of now dead code.
I *think* I've worked out the changes in WebSocketListener onWebSocketConnect(WebSocketConnection) -> onWebSocketConnect(Session) and send messages back and forth using session.getRemoteEndPoint().send*(). I noticed though that the methods have gone from write*() to send*() so I just would like confirming that I'm not too close to the metal and I am using the appropriate level of abstraction (i.e. the as far away from the guts until I have e genuine need to go lower). I found, http://jetty.4.x6.nabble.com/jetty-users-Jetty-9-and-WebSocket-td4960163.html#a4960172, which suggests a chap is doing the same but never saw that tailed. My use case fwiw will involve a number of non browser based clients so I'm going to be very biased towards using these libraries. Cheers, Max Kington p.s. Can I update docs/wiki somewhere with examples as I go? _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
