WsSignal class
A signalling payload from one peer to another, forwarded by the hub.
The hub never looks inside payload — it checks only that the sender owns fromEndpointId — so this carries whatever two peers need to establish a direct connection between themselves. That is what lets a peer-to-peer transport use this hub for discovery and connection setup while its data never crosses it.
Constructors
Properties
- fromEndpointId → String
-
The endpoint that sent this, as the hub verified it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload → Object?
-
Whatever the sender put in. JSON-decoded, and meaningful only to the
transport at both ends.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toEndpointId → String
-
One of this connection's own endpoints.
final
Methods
-
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