Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.

Commit e743f1e

Browse files
jasnelljBarz
authored andcommitted
doc: improve http.abort description
Per nodejs#4409, the documentation on http.abort is a bit lacking. This provides a slight improvement. Reviewed-By: James M Snell <[email protected]> PR-URL: nodejs#25591
1 parent 45e9fbe commit e743f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/http.markdown

+2-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,8 @@ is finished.
897897

898898
### request.abort()
899899

900-
Aborts a request. (New since v0.3.8.)
900+
Marks the request as aborting. Calling this will cause remaining data
901+
in the response to be dropped and the socket to be destroyed.
901902

902903
### request.setTimeout(timeout[, callback])
903904

0 commit comments

Comments
 (0)