CloseCodes class abstract final

Socket close codes the gateway uses.

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
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

authFailed → const int
Auth refused, or the session was revoked.
authTimeout → const int
No auth frame within 5 s of connecting.
clientAuthError → const int
The SDK closed the socket because auth() threw.
protocolOutdated → const int
The client's protocol version is older than the gateway supports.
sessionReplaced → const int
A session frame carried a new visitor token; reconnect at once.