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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
kemitchell authored and Fishrock123 committed Jun 27, 2016
1 parent 7a17139 commit e6135ba
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 e6135ba

Please sign in to comment.