Node.js seems to have the ability to acquire useful modules with insufficient or missing documentation. socket.io is one such module. I would like to use the built-in authorization function for namespaces, but I do not know how this will work on the client side. On the server side, they provide ample documentation, but beyond that, I'm not sure.
EDIT . I do not want to know how to get cookie data from a client. I know how to do this, and how to directly transfer data (e.g. username and password) from the client, through javascript.
source share