通过websocket,springboot,vue实现简单在线聊天室(运用了ngrok)
依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
后端
package com.wh.websockettest.config;
import org.springframework.context.annotation.B
原创
2020-08-23 19:03:31 ·
365 阅读 ·
0 评论