Event:'connect_error'

  • error (Object) 错误对象

在连接错误时触发

socket.on('connect_error',(error)=>{
    // ...
})

results matching ""

    No results matching ""