Skip to content

Commit

Permalink
doc: fix 'aborted' event documentation
Browse files Browse the repository at this point in the history
The `'aborted'` event is only emitted on `http.IncomingMessage`
instances.

PR-URL: nodejs/node#15471
Fixes: nodejs/node#15259
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
lpinca authored and addaleax committed Sep 23, 2017
1 parent 772ee10 commit e892b98
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,6 @@ added: v1.4.1
Emitted when the request has been aborted by the client. This event is only
emitted on the first call to `abort()`.

### Event: 'aborted'
<!-- YAML
added: v0.3.8
-->

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

### Event: 'connect'
<!-- YAML
added: v0.7.0
Expand Down Expand Up @@ -1467,8 +1459,7 @@ following additional events, methods, and properties.
added: v0.3.8
-->

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

### Event: 'close'
<!-- YAML
Expand Down

0 comments on commit e892b98

Please sign in to comment.