request.destroy([error])
销毁请求。
可选地触发 'error'
事件,并发出 'close'
事件。
调用它会导致响应中的剩余数据被丢弃并销毁套接字。
有关详细信息,请参阅 writable.destroy()
。
Destroy the request. Optionally emit an 'error'
event,
and emit a 'close'
event. Calling this will cause remaining data
in the response to be dropped and the socket to be destroyed.
See writable.destroy()
for further details.