An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
June 11, 2022 08:54 pm GMT
Original Link: https://dev.to/ion/websockets-chat-sample-470e
Websockets Chat Sample
Hello Devs, I've written an example on how to use WebSockets using vanilla JavaScript. It's a simple webchat, the UI is inspired on the old XChat.
Here is the repo: https://github.com/ionmx/websockets-chat-sample
Take a look to server.js
and client.js
are self explanatory.
Original Link: https://dev.to/ion/websockets-chat-sample-470e
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To