# Springboot Websocket实践 **Repository Path**: fphsy/websocket_practice ## Basic Information - **Project Name**: Springboot Websocket实践 - **Description**: Springboot Websocket实践 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: http://www.laojieblog.com - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-09-04 - **Last Updated**: 2022-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Springboot Websocket实践 #### 介绍 Springboot Websocket实践 #### 软件架构 软件架构说明 springboot、websocket、websocket状态码使用 #### 默认访问地址 http://localhost:8080/WsChat #### 安装教程 ###开发工具启动: 1. 直接运行 ###部署到外部tomcat: 1.将WebSocketConfig类下ServerEndpointExporter方法的@Bean注释掉再打包,如图 ![图片](https://images.gitee.com/uploads/images/2019/1007/140642_cfaa4885_1902253.png "在这里输入图片标题") #### 使用说明 1. 无 #### 实现功能 1.群聊; 2.上线提醒; 3.掉线提醒; 4.同个账号登录下线操作; #### 前端界面 ![主界面](https://images.gitee.com/uploads/images/2019/1007/140642_f687c7d9_1902253.png "屏幕截图.png") ![上线提醒](https://images.gitee.com/uploads/images/2019/1007/140739_cab3ffeb_1902253.png "屏幕截图.png") ![掉线提醒](https://images.gitee.com/uploads/images/2019/1007/140804_97fc630f_1902253.png "屏幕截图.png") ![聊天](https://images.gitee.com/uploads/images/2019/1007/141052_c730cfc4_1902253.png "屏幕截图.png") ![聊天](https://images.gitee.com/uploads/images/2019/1007/141113_b7bdeefe_1902253.png "屏幕截图.png") ![强制掉线](https://images.gitee.com/uploads/images/2019/1007/141149_7e568a46_1902253.png "屏幕截图.png") #### 参与贡献 1. 无 #### 联系 QQ群:818705122 [老揭博客](http://www.laojieblog.com)