Socket.io is an amazing library for client/server communication, but it can be a bit confusing to get started with. In this video I will be showing you every features in socket.io so you can start using it with confidence.
Materials/References:
CORS Video: https://youtu.be/PNtFSVU-YTI
CORS Blog Article: https://blog.webdevsimplified.com/2021-05/cors
Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:29 - Starting Code
01:52 - How Socket.io Works
03:28 - Basic Setup
07:25 - Send Events To The Server
09:20 - Sending Events To The Client
11:20 - Rooms
15:48 - Emit Callback
17:40 - Admin Dashboard
20:07 - Namespaces
21:15 - MIddleware
24:52 - Offline Mode
#SocketIO #WDS #WebSocket