Skip to content

chengfeiZhou/notifyTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notifyTool

后端主动的前后端消息服务 this is a message forwarding service for http to websocket

task

  • websocket server for Security web client

example

  • post alarm and capture content
post("http://xxx:8900/{cid}", content)
  • websocket
var websocket = new WebSocket("ws://xxx:8901/{cid}")
or
var websocket = new WebSocket("ws://xxx:8901/?cid={cid}")
websocket.onMessage = function( con ){
	// TODO ... 
}

About

后端主动的前后端消息服务

Resources

License

Stars

Watchers

Forks

Packages

No packages published