request.abort()


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

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