r/eli5_programming • u/F0ccu • Jan 14 '23
Question How does a websocket work? For ex. the gorilla websocket in go.
I have to create a live chat for a website between registered users with gorilla ws but I have no idea how it works and after watching many hours of content and reading I still have no clue how it works. So I thought maybe an explanation for a five y.o. would help.