node.js - Socket.io using default namespace with some custom namepsace, not working -
i trying use default namespace '\' connecting general android application sockets socket.io , want make custom namespace website '/web' when client io.connect('/web') connects default namespace.
basically want authorization of all, not /web namespace. here code io.sockets.on('connection', function (socket, next) { //some handshaking data varify connection } io.of('/web').on('connection', function(socket, next) { //here want skip verification } got request on default instead of /web.
socket.io connection
event trigger /
default namespace on socket connections.
later events client trigger on namespace connected to.
Comments
Post a Comment