Interface for receiving WebSocket health monitoring events.
Implementations of this interface receive callbacks when health monitoring events occur, such as when a ping should be sent or when the connection is determined to be unhealthy.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPingRequested(
) → void - Called when it's time to send a ping request for health checking.
-
onUnhealthy(
) → void - Called when the WebSocket connection is determined to be unhealthy.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited