summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormurgatroid99 <mlumish@google.com>2019-06-05 10:13:17 -0700
committercjihrig <cjihrig@gmail.com>2019-06-10 17:02:41 -0700
commit155caf72bd7972aa46a7b4e8210d13150f8feb43 (patch)
treeebf0823583d4ecd64d1eb295909a72647ad9752e /doc
parent04633eeeb93c5a86a6635940eb4f34a7839ada11 (diff)
downloadandroid-node-v8-155caf72bd7972aa46a7b4e8210d13150f8feb43.tar.gz
android-node-v8-155caf72bd7972aa46a7b4e8210d13150f8feb43.tar.bz2
android-node-v8-155caf72bd7972aa46a7b4e8210d13150f8feb43.zip
doc: document Http2Stream#id property
PR-URL: https://github.com/nodejs/node/pull/28074 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http2.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 1332673bb8..6c811990d5 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1070,6 +1070,16 @@ Set the `true` if the `END_STREAM` flag was set in the request or response
HEADERS frame received, indicating that no additional data should be received
and the readable side of the `Http2Stream` will be closed.
+#### http2stream.id
+<!-- YAML
+added: v8.4.0
+-->
+
+* {number|undefined}
+
+The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`
+if the stream identifier has not yet been assigned.
+
#### http2stream.pending
<!-- YAML
added: v9.4.0