Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
hel-developer-guide
Commits
455f914f
Commit
455f914f
authored
Jan 25, 2018
by
冯景珉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 框架功能描述/websocket.md
Auto commit by GitBook Editor
parent
1de3425b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
websocket.md
框架功能描述/websocket.md
+4
-1
No files found.
框架功能描述/websocket.md
View file @
455f914f
# 使用websocket实现消息提示
# 使用websocket实现消息提示
### 1
、
进行websocket的相应配置
### 1
.
进行websocket的相应配置
#### 添加需要的文件
#### 添加需要的文件
*
js:webapp/lib/websocket/sockjs.js
*
js:webapp/lib/websocket/sockjs.js
*
spring配置文件:resources/spring/applicationContext-websocket.xml
*
spring配置文件:resources/spring/applicationContext-websocket.xml
...
@@ -44,6 +44,9 @@ function initWebSocket() {
...
@@ -44,6 +44,9 @@ function initWebSocket() {
```
```
### 2.消息推送
#### 获取SocketSessionMap
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment