ClientConnection class abstract
Constructors
Properties
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onStateChanged ← void Function(ConnectionState)
-
Set state change listener for this connection. The given callback will be
invoked when the state of this connection changes.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
no setter
Methods
-
dispatchCall(
ClientCall call) → void -
Put
call
on the queue to be dispatched when the connection is ready. -
makeRequest(
String path, Duration? timeout, Map< String, String> metadata, ErrorHandler onRequestFailure, {required CallOptions callOptions}) → GrpcTransportStream -
Start a request for
path
withmetadata
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< void> - Shuts down this connection.
-
terminate(
) → Future< void> - Terminates this connection.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited