Skip to content

使用Spring WebSocket搭建websocket服务,分别展示了基于原生的,sockjs的,stomp的方式来实现

Notifications You must be signed in to change notification settings

joeywang310/spring-websocket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-websocket-demo

Spring WebSocket demo,总共分四个模块,不同的使用spring websocket方式实现了搭建websocket服务

row-websocket spring原生websocket

详细内容见注释

sockjs spring sockjs实现websocket

详细内容见注释

stomp 基于消息的websocket实现

详细内容见注释

send2user 使用stomp协议发送消息到指定客户端

详细内容见注释

参考链接:

spring web doc

About

使用Spring WebSocket搭建websocket服务,分别展示了基于原生的,sockjs的,stomp的方式来实现

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages