message.destroy([error])


在接收到 IncomingMessage 的套接字上调用 destroy()

如果提供了 error,则会在套接字上触发 'error' 事件,并将 error 作为参数传给该事件上的所有监听器。

Calls destroy() on the socket that received the IncomingMessage. If error is provided, an 'error' event is emitted on the socket and error is passed as an argument to any listeners on the event.