# springboot-websocket **Repository Path**: cking/springboot-websocket ## Basic Information - **Project Name**: springboot-websocket - **Description**: springboot websocket 简易聊天 无需数据库,缓存等中间件 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://pickmall.cn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 112 - **Created**: 2021-12-27 - **Last Updated**: 2021-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Springboot-websocket 支持自动更新在线用户,点对点聊天,下线,上线等,最简易的IM 项目参考:https://gitee.com/shenzhanwang/Spring-websocket.git 简化流程 直接请求:[http://127.0.0.1:8080/lili/im/room?name=TOM](http://127.0.0.1:8080/lili/im/room?name=TOM) 用户TOM上线 接着请求:[http://127.0.0.1:8080/lili/im/room?name=JIMI](http://127.0.0.1:8080/lili/im/room?name=JIMI) 用户JIMI上线 可以自行根据name值写入自己的名次,跳转计入聊天室后自动可以开启聊天。 ![img.png](img.png) ![img_1.png](img_1.png) ![img_2.png](img_2.png)