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