Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowController ¶
type FlowController interface { AddBytesSent(n protocol.ByteCount) UpdateSendWindow(newOffset protocol.ByteCount) bool SendWindowSize() protocol.ByteCount UpdateHighestReceived(byteOffset protocol.ByteCount) protocol.ByteCount IncrementHighestReceived(increment protocol.ByteCount) AddBytesRead(n protocol.ByteCount) MaybeTriggerBlocked() bool MaybeTriggerWindowUpdate() (bool, protocol.ByteCount) CheckFlowControlViolation() bool GetHighestReceived() protocol.ByteCount }
A FlowController handles the flow control
func NewFlowController ¶
func NewFlowController(streamID protocol.StreamID, connectionParametersManager *handshake.ConnectionParametersManager) FlowController
NewFlowController gets a new flow controller
Click to show internal directories.
Click to hide internal directories.