38

Introduction to WebSockets. Creating a Node.js server and using WebSocket API in...

 5 years ago
source link: https://wanago.io/2018/09/24/introduction-to-websockets-creating-a-node-js-server-and-using-websocket-api-in-the-browser/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
WebSocket is a protocol that makes two-way communication in real-time between the user and the server possible. A common use cases are chats and online multiplayer games. Today we cover implementing it both on frontend and backend. Let’s go! Explaining WebSockets WebSocket is a different protocol than HTTP. Despite that, to establish a connection, the client sends …

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK