diff options
Diffstat (limited to 'doc/api/http.md')
-rw-r--r-- | doc/api/http.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 0640ec417d0..ecffb87be4b 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1401,7 +1401,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 @@ -1411,6 +1411,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 |