Skip to content

tans105/websocket-demo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket-server-demo

A simple websocket based server. Currently supports 2 message mapping and 1 heartbeat API

  • /chat.sendMessage - Public messaging
  • /chat.addUser - When adding a new user
  • /hearbeat - GET - To see if the deployment is working fine

An event listener is provided to handle events of

  • User connection
  • User disconnection

Demo

Here is link to the client application if you want to play around locally. Instruction are there in the README for it.

Packages

No packages published

Languages