DataBlockedFrame class
A DATA_BLOCKED frame (RFC 9000 Section 19.12).
Sent by a sender to indicate it is blocked at the connection-level flow-control limit maxData. This serves as a hint to the receiver that it should send a MaxDataFrame to increase the limit.
Constructors
- DataBlockedFrame({required int maxData})
-
Creates a DataBlockedFrame reporting
maxDataas the blocking limit.
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
- maxData → int
-
The connection-level limit at which the sender is blocked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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