doc: add descriptions of state properties
Fixes: https://github.com/nodejs/node/issues/15268 PR-URL: https://github.com/nodejs/node/pull/18044 Fixes: https://github.com/nodejs/node/issues/15268 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
4c8bedf8b4
commit
800caac236
@ -540,16 +540,28 @@ All other interactions will be routed directly to the socket.
|
|||||||
added: v8.4.0
|
added: v8.4.0
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
Provides miscellaneous information about the current state of the
|
||||||
|
`Http2Session`.
|
||||||
|
|
||||||
* Value: {Object}
|
* Value: {Object}
|
||||||
* `effectiveLocalWindowSize` {number}
|
* `effectiveLocalWindowSize` {number} The current local (receive)
|
||||||
* `effectiveRecvDataLength` {number}
|
flow control window size for the `Http2Session`.
|
||||||
* `nextStreamID` {number}
|
* `effectiveRecvDataLength` {number} The current number of bytes
|
||||||
* `localWindowSize` {number}
|
that have been received since the last flow control `WINDOW_UPDATE`.
|
||||||
* `lastProcStreamID` {number}
|
* `nextStreamID` {number} The numeric identifier to be used the
|
||||||
* `remoteWindowSize` {number}
|
next time a new `Http2Stream` is created by this `Http2Session`.
|
||||||
* `outboundQueueSize` {number}
|
* `localWindowSize` {number} The number of bytes that the remote peer can
|
||||||
* `deflateDynamicTableSize` {number}
|
send without receiving a `WINDOW_UPDATE`.
|
||||||
* `inflateDynamicTableSize` {number}
|
* `lastProcStreamID` {number} The numeric id of the `Http2Stream`
|
||||||
|
for which a `HEADERS` or `DATA` frame was most recently received.
|
||||||
|
* `remoteWindowSize` {number} The number of bytes that this `Http2Session`
|
||||||
|
may send without receiving a `WINDOW_UPDATE`.
|
||||||
|
* `outboundQueueSize` {number} The number of frames currently within the
|
||||||
|
outbound queue for this `Http2Session`.
|
||||||
|
* `deflateDynamicTableSize` {number} The current size in bytes of the
|
||||||
|
outbound header compression state table.
|
||||||
|
* `inflateDynamicTableSize` {number} The current size in bytes of the
|
||||||
|
inbound header compression state table.
|
||||||
|
|
||||||
An object describing the current status of this `Http2Session`.
|
An object describing the current status of this `Http2Session`.
|
||||||
|
|
||||||
@ -1010,14 +1022,21 @@ req.setTimeout(5000, () => req.rstStream(NGHTTP2_CANCEL));
|
|||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v8.4.0
|
added: v8.4.0
|
||||||
-->
|
-->
|
||||||
|
Provides miscellaneous information about the current state of the
|
||||||
|
`Http2Stream`.
|
||||||
|
|
||||||
* Value: {Object}
|
* Value: {Object}
|
||||||
* `localWindowSize` {number}
|
* `localWindowSize` {number} The number of bytes the connected peer may send
|
||||||
* `state` {number}
|
for this `Http2Stream` without receiving a `WINDOW_UPDATE`.
|
||||||
* `localClose` {number}
|
* `state` {number} A flag indicating the low-level current state of the
|
||||||
* `remoteClose` {number}
|
`Http2Stream` as determined by nghttp2.
|
||||||
* `sumDependencyWeight` {number}
|
* `localClose` {number} `true` if this `Http2Stream` has been closed locally.
|
||||||
* `weight` {number}
|
* `remoteClose` {number} `true` 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`.
|
A current state of this `Http2Stream`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user