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.