PriorityUpdateFrame class
HTTP/3 PRIORITY_UPDATE frame payload (RFC 9218 Section 7).
Carries priority parameters for a request stream. Wire format: VarInt(streamId) + priorityFieldValue_bytes.
Constructors
- PriorityUpdateFrame({required int streamId, required String priorityFieldValue})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- priorityFieldValue → String
-
The priority field value as an ASCII string (e.g., "u=3, i").
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId → int
-
The request stream ID that this priority update applies to.
final
Methods
-
getByteLength(
) → int - Returns the total on-the-wire byte length of the full HTTP/3 frame (type varint + length varint + payload).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Uint8List - Alias for serializePayload.
-
serializePayload(
) → Uint8List - Serialize payload: VarInt(streamId) + priorityFieldValue_bytes.
-
toFrame(
) → Http3Frame - Build a complete frame.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
parse(
Uint8List bytes) → PriorityUpdateFrame - Alias for parsePayload.
-
parsePayload(
Uint8List payload) → PriorityUpdateFrame - Parse payload.