summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKyle E. Mitchell <kyle@kemitchell.com>2016-06-10 15:41:36 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-07-05 22:11:42 +0200
commitec515c5d3bec55d487248b1e148d98ea8919fb72 (patch)
tree10046417c0e4f9b35efe004821904ec009a99fe9 /doc
parent0f434fee6e4fffeb2a0589386137be9bfdba5723 (diff)
downloadnode-new-ec515c5d3bec55d487248b1e148d98ea8919fb72.tar.gz
doc: mention http request "aborted" events
Fixes: https://github.com/nodejs/node/issues/6925 PR-URL: https://github.com/nodejs/node/pull/7270 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 3e3d3fb0cc..493e66b7e7 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -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) { }`
@@ -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 () { }`