Daniel, If you use cometd as a layer over websocket, then it will automatically handle browsers that do not support RFC compliant websockets. Old iOS devices will fall back to using long polling, which I believe is infinitely preferable than Hixie76
regards On 8 October 2013 19:02, Daniel Wu <[email protected]> wrote: > Hi guys, > > There are some old iOS 5.1 devices only supports Hixie76. However the > latest jetty 9 only supports RFC6455. The WebSocketServerFactory class only > initialize the handshakes map with a single protocol. > > private final Map<Integer, WebSocketHandshake> handshakes = new > HashMap<>(); > { > handshakes.put(HandshakeRFC6455.VERSION,new HandshakeRFC6455()); > } > > How can I make it support Hixie76? > > -- > Daniel Wu > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > > -- Greg Wilkins <[email protected]> http://www.webtide.com Developer advice and support from the Jetty & CometD experts. Intalio, the modern way to build business applications.
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
