HubCloseCode class abstract final

WebSocket close codes the hub uses to say why it hung up.

In the application-private 4000-4999 range. A client that cannot tell "your credentials are wrong" from "the session is over" from "the network blipped" will retry when it should stop, or stop when it should retry.

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

identityConflict → const int
The claimed endpoint or identity belongs to another live connection.
policyViolation → const int
A limit was exceeded: frame too large, too many endpoints, too many queries, hub full.
sessionClosed → const int
The session has ended, or this node was revoked. Do not retry.
unauthorized → const int
Authentication failed, or a frame arrived before authentication.