ClientCall<Q, R> class

An active call to a gRPC endpoint.

Implemented types

Constructors

ClientCall(ClientMethod<Q, R> _method, Stream<Q> _requests, CallOptions options, [TimelineTask? _requestTimeline])

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Future<Map<String, String>>
Header metadata returned from the server.
no setteroverride
isCancelled bool
getter/setter pair
options CallOptions
final
response Stream<R>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailers Future<Map<String, String>>
Trailer metadata returned from the server.
no setteroverride

Methods

cancel() Future<void>
Cancel this gRPC call. Any remaining request objects will not be sent, and no further responses will be received.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConnectionError(dynamic error) → void
onConnectionReady(ClientConnection connection) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

audiencePath(ClientMethod method) String