request.abort()


稳定性: 0 - 弃用: 改为使用 request.destroy()

将请求标记为中止。 调用它会导致响应中的剩余数据被丢弃并销毁套接字。

Stability: 0 - Deprecated: Use request.destroy() instead.

Marks the request as aborting. Calling this will cause remaining data in the response to be dropped and the socket to be destroyed.