Socket.IO: Difference between revisions
Appearance
Created page with "Socket.IO is an abstraction library to allow real time communications from a browser to a server. On modern browsers, Socket.IO will first negotiate using AJAX requests and th..." |
No edit summary |
||
Line 1: | Line 1: | ||
Socket.IO is an abstraction library to allow real time communications from a browser to a server. | Socket.IO is an abstraction library to allow real time communications from a browser to a server. | ||
On modern browsers, Socket.IO will first negotiate using AJAX requests and then upgrade to WebSockets. | On modern browsers, Socket.IO will first negotiate using AJAX requests and then upgrade to WebSockets. | ||
Latest revision as of 23:44, 16 August 2020
Socket.IO is an abstraction library to allow real time communications from a browser to a server.
On modern browsers, Socket.IO will first negotiate using AJAX requests and then upgrade to WebSockets.
These days, most browsers support WebSockets and WebRTC so you should use one of those if you don't need to support legacy browsers.
Resources
- Socket.IO vs WebSockets