From 1fbb86c64be7016bdde7f3ed3d6a2885baac9897 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 19 Sep 2017 14:23:23 +0200 Subject: [PATCH] doc: fix 'aborted' event documentation The `'aborted'` event is only emitted on `http.IncomingMessage` instances. PR-URL: https://github.com/nodejs/node/pull/15471 Fixes: https://github.com/nodejs/node/issues/15259 Reviewed-By: Matteo Collina Reviewed-By: Minwoo Jung Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Franziska Hinkelmann Reviewed-By: Ruben Bridgewater --- doc/api/http.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 9624e359080203..3219893761c467 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -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' - - -Emitted when the request has been aborted by the server and the network -socket has closed. - ### Event: 'connect' -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'