代码
未读
Nginx开启WebSocket
#开启WebSocket
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
#设置连接时间
proxy_rea
代码
未读
SSM整合WebSocket
1、首先导包 <!--websocket-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
<version>5.2.6.RELEA