SessionFlowControl
Flow control representation of a Http2 Session
Value members
Abstract methods
Create a new StreamFlowWindow for a stream which will update and check the bounds of the session flow control state.
Create a new StreamFlowWindow for a stream which will update and check the bounds of the session flow control state.
- Note
the stream StreamFlowWindow is not thread safe.
Signal that inbound bytes have been consumed that are not tracked by a stream
Signal that inbound bytes have been consumed that are not tracked by a stream
Observe inbound bytes that don't belong to an active inbound stream
Observe inbound bytes that don't belong to an active inbound stream
- Value Params
- count
bytes observed
- Returns
trueif there was sufficient session flow window remaining,falseotherwise.
Get the number of bytes remaining in the inbound flow window
Get the number of bytes remaining in the inbound flow window
Update the session outbound window
Update the session outbound window
- Note
there is no way to withdraw outbound bytes directly from the session as there should always be an associated stream when sending flow control counted bytes outbound.
Get the remaining bytes in the sessions outbound flow window
Get the remaining bytes in the sessions outbound flow window