Skip to main content

method IncomingMessage.prototype.destroy

#IncomingMessage.prototype.destroy(error?: Error): this

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.

Parameters #

#error: Error
optional

Return Type #

this

你找到了你需要的东西吗?

隐私政策