mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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: https://github.com/joyent/node/pull/25591
This commit is contained in:
1 parent
cf435d55db
commit
85bcb281e4
1 file changed
+2
-1
@@ -897,7 +897,8 @@ is finished.
|
||||
|
||||
### request.abort()
|
||||
|
||||
Aborts a request. (New since v0.3.8.)
|
||||
Marks the request as aborting. Calling this will cause remaining data
|
||||
in the response to be dropped and the socket to be destroyed.
|
||||
|
||||
### request.setTimeout(timeout[, callback])
|
||||
|
||||
|
||||
Reference in new issue
Block a user