PathChallengeFrame class
PATH_CHALLENGE Frame (Type 0x09) Used to validate a new network path during connection migration. Contains arbitrary data that the peer must echo back.
Constructors
- PathChallengeFrame.new({required Uint8List data})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → Uint8List -
Serialize the frame into a byte list.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromBytes(
ByteData view, int offset) → PathChallengeFrame -
A factory constructor to deserialize a frame from bytes.
override