Skip to main content
method ClientRequest.prototype.abort
ClientRequest.prototype.abort(): void
Deprecated

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

Return Type

void
Back to top