Skip to content

Commit

Permalink
doc: mention http request "aborted" events
Browse files Browse the repository at this point in the history
Fixes: #6925
PR-URL: #7270
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
kemitchell authored and addaleax committed Jun 22, 2016
1 parent a84b0f2 commit 86fdbe0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,13 @@ The request implements the [Writable Stream][] interface. This is an
Emitted when the request has been aborted by the client. This event is only
emitted on the first call to `abort()`.

### Event: 'aborted'

`function () { }`

Emitted when the request has been aborted by the server and the network
socket has closed.

### Event: 'checkExpectation'

`function (request, response) { }`
Expand Down Expand Up @@ -903,6 +910,13 @@ headers and data.
It implements the [Readable Stream][] interface, as well as the
following additional events, methods, and properties.

### Event: 'aborted'

`function () { }`

Emitted when the request has been aborted by the client and the network
socket has closed.

### Event: 'close'

`function () { }`
Expand Down

0 comments on commit 86fdbe0

Please sign in to comment.