Better example?
I was looking at the chat example and it seemed like there where a lot of missing parts if someone actually wanted to use this on a server. I understand that is just a simple demo - but most people need to cover a real-life chat demo more than the most basic chat demo.
Can we expand this?
Missing features
- No checking to see if the username is already taken
- No support for rooms (or namespaces)
- No checking on message to see if the user has actually given a name yet
- No use of showing get()/set() for session data (just socket.username = ...)
- No rate-limiting
- etc...
Agree with that better examples please
Please close this question listed as 'issue'. For questions please use stackoverflow. Code strong.
That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible).