aboutsummaryrefslogtreecommitdiff
path: root/doc/api/http.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index d6f738cb81..d3e495ea3d 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1483,7 +1483,7 @@ following additional events, methods, and properties.
added: v0.3.8
-->
-Emitted when the request has been aborted and the network socket has closed.
+Emitted when the request has been aborted.
### Event: 'close'
<!-- YAML
@@ -1493,6 +1493,16 @@ added: v0.4.2
Indicates that the underlying connection was closed.
Just like `'end'`, this event occurs only once per response.
+### message.aborted
+<!-- YAML
+added: REPLACEME
+-->
+
+* {boolean}
+
+The `message.aborted` property will be `true` if the request has
+been aborted.
+
### message.destroy([error])
<!-- YAML
added: v0.3.0