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>
This commit is contained in:
murgatroid99 2019-06-05 10:13:17 -07:00 committed by cjihrig
parent 04633eeeb9
commit 155caf72bd
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -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 HEADERS frame received, indicating that no additional data should be received
and the readable side of the `Http2Stream` will be closed. 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 #### http2stream.pending
<!-- YAML <!-- YAML
added: v9.4.0 added: v9.4.0