Websocket是个好东西,不多说。开发使用的时候经常会发现浏览器会自动发送/info开头的请求,间接也带来了一些诸如跨域配置不起作用的一些问题。SockJS的协议中有这么一段:Info test: /infoWarning: this is a replacement of /chunking_