StickyKeys / ChatApp

0 stars 0 forks source link

Backend heartbeat #3

Open StickyKeys opened 9 months ago

StickyKeys commented 9 months ago

The backend needs a heart beat that pings all of the clients to test their connections. The backend will close a web-socket connection if it fails to respond.

StickyKeys commented 8 months ago

There needs to be a way to fall back on long polling/short polling. Not sure of this difference at the moment or which one to use but this needs to work. I believe socket.io handles this for you but this is an opportunity to learn.