Event: ‘reconnec_failed’

reconnectionAttempts(尝试重连)内无法重新连接时触发

  1. socket.on('reconnect_failed',()=>{
  2. // ...
  3. })