Interface for WebSocket message encoding and decoding.
Handles the serialization and deserialization of messages between WebSocket transport format and application-specific types. Supports both text and binary formats.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
Object message) → Incoming - Decodes an incoming WebSocket message.
-
encode(
Outgoing message) → Object - Encodes an outgoing message for WebSocket transmission.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited