Upgrade”, which switches to a web socket. Chrome doesn't allow unsecure websocket (ws) connections to localhost (only wss, so you should setup a tls certificate for your local web/websocket server). However the same should work.
Is there an easy way (aka: With the introduction of servlet 3.0 (supported by tomcat 7+), web.xml can be thrown. Once the server and client.
What is the procedure to change ws into wss?