Explain to a non-technical recruiter what the Chat Example (above) does.
a chat application that allows mutliple users to communication through a single server by utilizing Socket.io
What proof of life are we getting on the backend from the above app?
The server logs events as they happen, including the initial connection with the client
Socket.IO gives us the i0.emit() method to send an event to everyone. What flag would you use if you want to send a message to everyone except for a certain emitting socket?
What is a Namespace and what does it allow you to do?
A Namespace is a communication channel that allows you to split the logic of your application over a single shared connection (also called “multiplexing”).
Each namespace potentially has its own what? (hint: 3 things)
Event handlers, rooms, and middlewares
Discuss a possible use case for separate namespaces
you want to create a special namespace that only authorized users have access to, so the logic related to those users is separated from the rest of the application. An example would be a namespace specifically for the admin of a companny.