StreamDataBlockedFrame class
A STREAM_DATA_BLOCKED frame (RFC 9000 Section 19.13).
Sent when a sender is blocked on a per-stream flow-control limit. The maxStreamData value is the limit that is blocking the sender, providing the receiver a hint to send a MaxStreamDataFrame to unblock it.
Constructors
- StreamDataBlockedFrame({required int streamId, required int maxStreamData})
-
Creates a StreamDataBlockedFrame for
streamIdatmaxStreamData.
Properties
- frameType → int
-
The QUIC frame type identifier (RFC 9000 Section 19).
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAckEliciting → bool
-
Whether this frame is ack-eliciting per RFC 9000 Table 3.
Default is
true; override for non-ack-eliciting frames.no setterinherited - isInFlight → bool
-
Whether this frame counts toward bytes in flight per RFC 9000 Table 3.
Default matches isAckEliciting; override for frames that are not
ack-eliciting but still should not count (e.g., CONNECTION_CLOSE).
no setterinherited
- maxStreamData → int
-
The per-stream limit at which the sender is blocked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId → int
-
The stream that is blocked.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Uint8List -
Serializes the frame to its on-the-wire bytes.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited