HubConnectionException class

Thrown when the hub refuses or ends a connection.

Carries the close code so a caller can tell "wrong secret" from "the session is over" from an ordinary disconnect.

Implemented types

Constructors

HubConnectionException(int? code, String? reason)
const

Properties

code → int?
A HubCloseCode, or a standard WebSocket close code.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String?
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