io.use((socket, next) => { if (socket.request.headers.cookie) return next(); next(new Error('Authentication error')); }); ...
確定! 回上一頁