outgoingMessage.destroy([error])


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

    ¥error <Error> Optional, an error to emit with error event

  • 返回:<this>

    ¥Returns: <this>

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

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