赞
踩
WebSocket connection to 'ws://localhost:8888/MetroCity/ws/endpointChat' failed: Error during WebSocket handshake: Unexpected response code: 200
将withSockJS()去除,就可以通过原生方式连接了,因为soket在浏览器不支持WebSocket请求是会自动切换为http请求轮训方式
https://blog.csdn.net/slt6366078/article/details/80360941
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。