RpcChannelCloseReason class sealed

Why a channel is closing on the peer's account; see IRpcChannel.closeFor.

Both reasons are deterministic: the peer will repeat the message if it reads the close as transient. Closed without saying so, a WebSocket peer sees close code 1005 "no status received", which maps to UNAVAILABLE and is retried.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
For a human reading a log; nothing may key off it. WebSocket caps a close reason at 123 bytes.
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.
inherited

Operators

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