http2stream.state
提供有关 Http2Stream 当前状态的其他信息。
¥Provides miscellaneous information about the current state of the
Http2Stream.
-
类型:<Object>
¥Type: <Object>
-
localWindowSize<number> 连接的对等体可以为此Http2Stream发送的字节数,而不会收到WINDOW_UPDATE。¥
localWindowSize<number> The number of bytes the connected peer may send for thisHttp2Streamwithout receiving aWINDOW_UPDATE. -
state<number> 指示由nghttp2确定的Http2Stream的低层当前状态的标志。¥
state<number> A flag indicating the low-level current state of theHttp2Streamas determined bynghttp2. -
localClose<number>1(如果该Http2Stream已在本地关闭)。¥
localClose<number>1if thisHttp2Streamhas been closed locally. -
remoteClose<number>1(如果此Http2Stream已远程关闭)。¥
remoteClose<number>1if thisHttp2Streamhas been closed remotely. -
sumDependencyWeight<number> 使用PRIORITY帧指定的依赖于此Http2Stream的所有Http2Stream实例的总权重。此功能已在 RFC 9113 中弃用,并且将在 Node.js 的未来版本中移除对它的支持。¥
sumDependencyWeight<number> The sum weight of allHttp2Streaminstances that depend on thisHttp2Streamas specified usingPRIORITYframes. This has been deprecated in RFC 9113, and support for it will be removed in future versions of Node.js. -
weight<number> 此Http2Stream的优先权重。此功能已在 RFC 9113 中弃用,并且将在 Node.js 的未来版本中移除对它的支持。¥
weight<number> The priority weight of thisHttp2Stream. This has been deprecated in RFC 9113, and support for it will be removed in future versions of Node.js.
-
此 Http2Stream 的当前状态。
¥A current state of this Http2Stream.