DEV Community


Discussion on: Explain WebSockets like I'm five

jvanbruegge profile image
Jan van Brügge • Edited

You have a friend, that always has the newest gossip. Because you want to stay up to date, you ask him every 15 minutes, if he has something new. But most of the time he does not have any news and sometimes several things happenend in the last few minutes.

So you and your friend agree that you will call him and leave the line open. Once your friend has news, he will tell them to you immediatly.

techbram profile image


Forem Open with the Forem app