Skip to content

Commit b4a0ca2

Browse files
committed
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/node-v0.x-archive#25565
1 parent c146855 commit b4a0ca2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/http.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,8 @@ is finished.
910910

911911
### request.abort()
912912

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

915916
### request.setTimeout(timeout[, callback])
916917

0 commit comments

Comments
 (0)