outgoingMessage.destroy([error])


  • error <Error> 可选,使用 error 事件触发的错误
  • 返回: <this>

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

  • error <Error> Optional, an error to emit with error event
  • Returns: <this>

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