websocket
ajdxwz
这个作者很懒,什么都没留下…
展开
-
springboot websocket 定时任务
项目需求 使用 springboot websocket 定时任务 实现消息的 一连接推送 , 关闭推送 , 连接中定时推送 实现步骤 打开 eclipse ,新建一个 springboot 项目 pom.xml 中加入相关依赖,如下 <dependencies> <dependency> <groupId>org.springframewo...原创 2019-06-26 11:27:46 · 1391 阅读 · 0 评论 -
websocket springboot 聊天室 群聊 私聊
项目需求 利用 websocket 实现 消息的推送,比定时任务更加节约性能 利用websocket 可以实现消息的群聊和私聊,我们可以根据这个进行开发 项目实现 在eclipse 上面 创建一个springboot 项目 版本1.5.2 release pom.xml 加入相关依赖 <dependencies> <!--Web项目必须加上--> <dep...翻译 2019-06-28 15:53:27 · 628 阅读 · 0 评论