ChatDrop class final
A connection lost or not made, for onDropInfo in connectChat. A
reconnect follows after retryIn, unless the connection is closed first.
Constructors
Properties
- code → int?
-
The close code: Kick's disconnect code, or its error code for a refused
connect or refresh (0 when the session gave up on a silent socket), or
the code the WebSocket closed with. Null for a failure without one: a
request or the handshake failing, a network error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String
-
What
onDropgets.final - retryIn → Duration
-
How long until the next attempt.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminal → bool
-
Whether Kick would refuse the same client again right away (a refused
token, a connection limit, a ban: Centrifugo's 3500-3999 and
4500-4999). The reconnect then waits 5 minutes or more, longer for
each terminal close in a row, and comes back as a new client.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited