Skip to content

Commit 1fbb86c

Browse files
lpincajasnell
authored andcommitted
doc: fix 'aborted' event documentation
The `'aborted'` event is only emitted on `http.IncomingMessage` instances. PR-URL: #15471 Fixes: #15259 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent fe9bb7e commit 1fbb86c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

doc/api/http.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -321,14 +321,6 @@ added: v1.4.1
321321
Emitted when the request has been aborted by the client. This event is only
322322
emitted on the first call to `abort()`.
323323

324-
### Event: 'aborted'
325-
<!-- YAML
326-
added: v0.3.8
327-
-->
328-
329-
Emitted when the request has been aborted by the server and the network
330-
socket has closed.
331-
332324
### Event: 'connect'
333325
<!-- YAML
334326
added: v0.7.0
@@ -1464,8 +1456,7 @@ following additional events, methods, and properties.
14641456
added: v0.3.8
14651457
-->
14661458

1467-
Emitted when the request has been aborted by the client and the network
1468-
socket has closed.
1459+
Emitted when the request has been aborted and the network socket has closed.
14691460

14701461
### Event: 'close'
14711462
<!-- YAML

0 commit comments

Comments
 (0)