RealtimeClosed class final

Why a realtime session ended.

Constructors

RealtimeClosed(int? code, String? reason, {bool byServer = false})
Creates a close record.
const

Properties

authFailure → bool
Credentials were rejected (4401 / 4403): reconnecting with the same token is pointless.
no setter
byServer → bool
Whether the server announced it (bye) or closed it.
final
code → int?
WebSocket close code (4401, 4403, 4408, 4409, 4413, 1012, …) or null when the network dropped.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String?
Reason text (from bye or the close frame).
final
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
toString() → String
A string representation of this object.
override

Operators

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