Browse Source

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
v0.12-staging
James M Snell 10 years ago
parent
commit
85bcb281e4
  1. 3
      doc/api/http.markdown

3
doc/api/http.markdown

@ -897,7 +897,8 @@ is finished.
### request.abort() ### 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]) ### request.setTimeout(timeout[, callback])

Loading…
Cancel
Save