CloseWebTransportSessionCapsule class

A CLOSE_WEBTRANSPORT_SESSION capsule (type 0x2843).

Inheritance

Constructors

CloseWebTransportSessionCapsule({Uint8List? data, int errorCode = 0, String? errorMessage})
Creates a CLOSE_WEBTRANSPORT_SESSION capsule.

Properties

data Uint8List
Opaque capsule payload bytes.
finalinherited
errorCode int
Application-defined error code reported when closing the session.
final
errorMessage String?
Optional human-readable error message, or null if none was provided.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
Capsule type identifier as a VarInt (e.g., 0x00 for DATAGRAM).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Uint8List
Serializes this capsule into its on-the-wire representation.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited