springboot+webSocket的demo(最简单的)
springboot+webSocket的demo(最简单的)
1.maven里面添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
写一个EchoSe
原创
2020-11-12 16:32:05 ·
679 阅读 ·
0 评论