摘要: 在实现消息推送的项目中往往需要WebSocket,以下简单讲解在Spring boot 中使用 WebSocket。 1、pom.xml 中引入 spring boot starter websocket 2、往spring容器中注入 ServerEndpointExporter 3、Endpoin 阅读全文
posted @ 2017-09-14 18:15 神奇Sam 阅读(2169) 评论(0) 推荐(0) 编辑