diff --git a/doc/api/http.md b/doc/api/http.md index b06886f09d2738..b7a9c1960f9f1c 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -207,6 +207,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: 'connect' `function (response, socket, head) { }` @@ -853,6 +860,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 () { }`