Skip to content

Commit 85bcb28

Browse files
committed
doc: improve http.abort description
Per #4409, the documentation on http.abort is a bit lacking. This provides a slight improvement. Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: nodejs/node-v0.x-archive#25591
1 parent cf435d5 commit 85bcb28

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)