Skip to content

Commit

Permalink
doc: improve http.abort description
Browse files Browse the repository at this point in the history
Per nodejs#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#25565
  • Loading branch information
jasnell committed Jun 29, 2015
1 parent 8917e43 commit 88153f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 88153f6

Please sign in to comment.