Skip to content

Poorva02/lab9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket

Websocket is another TCP based protocol similar to HTTP but with some differences.

  • HTTP is call and response
  • Websocket is 2 way message passing
  • Client must initiate the connection in both cases
  • In websocket, connection remains open and server can send client messages
  • Websocket is event driven, handle callbacks to 4 main events, open, close, message, error
  • Most of the logic back and forth can be done in the message handler, where any arbitrary data can be sent
  • Add your own tags to handle different message types, similar to how redux uses them

lab todos

  • Finish the active user counter
  • Finish live note taking

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •