http2stream.state


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

  • <Object>
    • localWindowSize <number> 连接的对等体可以为此 Http2Stream 发送的字节数,而不会收到 WINDOW_UPDATE
    • state <number> 指示由 nghttp2 确定的 Http2Stream 的低层当前状态的标志。
    • localClose <number> 如果此 Http2Stream 已在本地关闭,则为 1
    • remoteClose <number> 如果此 Http2Stream 已远程关闭,则为 1
    • sumDependencyWeight <number> 使用 PRIORITY 帧指定的依赖于此 Http2Stream 的所有 Http2Stream 实例的总权重。
    • weight <number>Http2Stream 的优先权重。

Http2Stream 的当前状态。

Provides miscellaneous information about the current state of the Http2Stream.

  • <Object>
    • localWindowSize <number> The number of bytes the connected peer may send for this Http2Stream without receiving a WINDOW_UPDATE.
    • state <number> A flag indicating the low-level current state of the Http2Stream as determined by nghttp2.
    • localClose <number> 1 if this Http2Stream has been closed locally.
    • remoteClose <number> 1 if this Http2Stream has been closed remotely.
    • sumDependencyWeight <number> The sum weight of all Http2Stream instances that depend on this Http2Stream as specified using PRIORITY frames.
    • weight <number> The priority weight of this Http2Stream.

A current state of this Http2Stream.