http2stream.state


提供有关 Http2Stream 当前状态的其他信息。

¥Provides miscellaneous information about the current state of the Http2Stream.

  • <Object>

    • localWindowSize <number> 连接的对等体可以为此 Http2Stream 发送的字节数,而不会收到 WINDOW_UPDATE

      ¥localWindowSize <number> The number of bytes the connected peer may send for this Http2Stream without receiving a WINDOW_UPDATE.

    • state <number> 指示由 nghttp2 确定的 Http2Stream 的低层当前状态的标志。

      ¥state <number> A flag indicating the low-level current state of the Http2Stream as determined by nghttp2.

    • localClose <number> 1(如果该 Http2Stream 已在本地关闭)。

      ¥localClose <number> 1 if this Http2Stream has been closed locally.

    • remoteClose <number> 1(如果此 Http2Stream 已远程关闭)。

      ¥remoteClose <number> 1 if this Http2Stream has been closed remotely.

    • sumDependencyWeight <number> 使用 PRIORITY 帧指定的依赖于此 Http2Stream 的所有 Http2Stream 实例的总权重。此功能已在 RFC 9113 中弃用,并且将在 Node.js 的未来版本中移除对它的支持。

      ¥sumDependencyWeight <number> The sum weight of all Http2Stream instances that depend on this Http2Stream as specified using PRIORITY frames. 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 this Http2Stream. 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.