diff options
author | Robert Nagy <ronagy@icloud.com> | 2018-04-17 11:37:50 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-04-26 19:38:27 +0200 |
commit | d5e363b77ebaf1caf67cd7528224b651c86815c1 (patch) | |
tree | 70780d6814d10b0d65904408ba57754b74657c43 /doc/api/http2.md | |
parent | 71059fbfa531f0229ca70a23c0082cec7315d6b4 (diff) | |
download | android-node-v8-d5e363b77ebaf1caf67cd7528224b651c86815c1.tar.gz android-node-v8-d5e363b77ebaf1caf67cd7528224b651c86815c1.tar.bz2 android-node-v8-d5e363b77ebaf1caf67cd7528224b651c86815c1.zip |
http: added aborted property to request
PR-URL: https://github.com/nodejs/node/pull/20094
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r-- | doc/api/http2.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 084cc7ad37..c47d4c7e57 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2417,6 +2417,16 @@ added: v8.4.0 Indicates that the underlying [`Http2Stream`][] was closed. Just like `'end'`, this event occurs only once per response. +#### request.aborted +<!-- YAML +added: REPLACEME +--> + +* {boolean} + +The `request.aborted` property will be `true` if the request has +been aborted. + #### request.destroy([error]) <!-- YAML added: v8.4.0 |