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 thisHttp2Stream
without receiving aWINDOW_UPDATE
.state
<number> A flag indicating the low-level current state of theHttp2Stream
as determined bynghttp2
.localClose
<number>1
if thisHttp2Stream
has been closed locally.remoteClose
<number>1
if thisHttp2Stream
has been closed remotely.sumDependencyWeight
<number> The sum weight of allHttp2Stream
instances that depend on thisHttp2Stream
as specified usingPRIORITY
frames.weight
<number> The priority weight of thisHttp2Stream
.
A current state of this Http2Stream
.