-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace Authorization #1887
Comments
With the latest version of socket.io? The wiki is not the source of up to date information, as it says on the front page of the wiki. Check out this piece of documentation. |
say this var nsp = io.of('/my-namespace');
nsp.use(function(socket, next){
...
}); Well ... does not work |
It does, how do you know it doesn't work? There is one related issue, maybe that has got you confused? #1888 |
Well ... I tried and testing.... |
But just saying that it doesn't work isn't very productive, nobody can guess what goes wrong that way. So please elaborate. Wasn't your middleware function called? Was the client allowed in the namespace anyway? How could you tell? Didn't you get an error where you expected it? |
Doc, say
But .... does not work and documentation are bad, and the function does not exist!
The text was updated successfully, but these errors were encountered: