summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Nagy <ronagy@icloud.com>2018-04-26 09:53:54 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-14 23:05:09 +0300
commit4b00c4fafaa2ae8c41c1f78823c0feb810ae4723 (patch)
treee169a5ced04f231f4a11c02d4602a2cb426200a3 /doc
parent50b334befd494546faca720e541ea88f7553731c (diff)
downloadandroid-node-v8-4b00c4fafaa2ae8c41c1f78823c0feb810ae4723.tar.gz
android-node-v8-4b00c4fafaa2ae8c41c1f78823c0feb810ae4723.tar.bz2
android-node-v8-4b00c4fafaa2ae8c41c1f78823c0feb810ae4723.zip
http: make client `.aborted` boolean
PR-URL: https://github.com/nodejs/node/pull/20230 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 0672c242c3..8f2c531713 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -529,10 +529,16 @@ in the response to be dropped and the socket to be destroyed.
### request.aborted
<!-- YAML
added: v0.11.14
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/20230
+ description: The `aborted` property is no longer a timestamp number.
-->
-If a request has been aborted, this value is the time when the request was
-aborted, in milliseconds since 1 January 1970 00:00:00 UTC.
+* {boolean}
+
+The `request.aborted` property will be `true` if the request has
+been aborted.
### request.connection
<!-- YAML