outgoingMessage.destroy([error])


  • error <Error> 可选,用于在 error 事件中发出的错误
  • 返回:<this>

销毁消息。一旦套接字与消息关联并且已连接,该套接字也将被销毁。

【Destroys the message. Once a socket is associated with the message and is connected, that socket will be destroyed as well.】