org.http4s.blaze.http.http2.FlowStrategy
See theFlowStrategy companion object
FlowStrategy
advises a session when to send window updates
A FlowStrategy
will be shared among many sessions.
Attributes
Companion
object
Source
FlowStrategy.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Matchable
class Any
Known subtypes
Members list
Decide if the session window needs to send a WINDOW_UPDATE frame
Decide if the session window needs to send a WINDOW_UPDATE frame
Value parameters
session
the session SessionFlowControl
Attributes
Returns
number of bytes to update the session flow window with.
Note
This version should only be used in situations where the stream associated with the data does not exist. For example, it may have already closed and sent a RST frame.
Source
FlowStrategy.scala
Decide if the stream and/or the session need a WINDOW_UPDATE frame
Decide if the stream and/or the session need a WINDOW_UPDATE frame
Value parameters
stream
the stream StreamFlowWindow
Attributes
Returns
the number of bytes to update the session and stream flow window with.
Note
Source
FlowStrategy.scala