socket.destroyed


  • <boolean> 指示连接是否被破坏。 一旦连接被破坏,就不能再使用它传输数据。

有关详细信息,请参阅 writable.destroyed

  • <boolean> Indicates if the connection is destroyed or not. Once a connection is destroyed no further data can be transferred using it.

See writable.destroyed for further details.