Object #<Server> has no method 'configure'
发布于 5天前 作者 yakczh 105 次浏览 来自 问答

http://stackoverflow.com/questions/8584442/configuring-nginx-and-socket-io

io.configure(function() {
        io.enable('browser client etag');
        io.set('transports', [
         'websocket','xhr-polling'
  ]);
});

提示 Object #<Server> has no method ‘configure’ 怎么样设置socket.io的参数呢?

回到顶部