Socket.io very slow — I think I am writing spaghetti code

前端 未结 0 707
孤独总比滥情好
孤独总比滥情好 2020-12-05 03:58

Server:

io.on(\'connection\', (socket) => {

  socket.on(\'getMessages\', async (data) => {
    const dataObj = JSON.parse(data);
    const server = dat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题