WsChannel class
Properties
-
callEvents
→ Stream<
String> -
no setter
- endpoint ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onConnectionStateChanged
→ Stream<
ConnectionState> -
Stream of connection state changes
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, CallOptions options) → ClientCall<Q, R> - Initiates a new RPC on this connection.
-
getConnection(
) → Future< WsConnection> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
[String? endpoint]) → void -
shutdown(
) → Future< void> - Shuts down this channel.
-
terminate(
) → Future< void> - Terminates this channel.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited