PriorityUpdatePushFrame class

HTTP/3 PRIORITY_UPDATE frame for push streams (RFC 9218 Section 7).

Same structure as PriorityUpdateFrame, but the streamId field semantically represents a Push ID, and the frame type is different.

Constructors

PriorityUpdatePushFrame({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 push 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(pushId) + 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) PriorityUpdatePushFrame
Alias for parsePayload.
parsePayload(Uint8List payload) PriorityUpdatePushFrame
Parse payload.