ClientStream class
Receives response messages of one call.
Constructors
- ClientStream(int streamId, Endpoint _endpoint, StreamInput _input)
Properties
- deadline ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers ↔ Headers?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId → int
-
final
- traceCtx ↔ TraceContext?
-
getter/setter pair
- tracePath ↔ String?
-
getter/setter pair
-
trailers
↔ Map<
String, String> ? -
Trailing metadata of the terminal status (null until it arrives).
getter/setter pair
Methods
-
cancel(
) → void - Abort this stream (sends RST, wakes a pending recv). After normal completion this just closes locally.
-
close(
) → void - Abandon this stream: RST CANCELLED unless it already completed.
-
endTrace(
String status) → void -
halfClose(
) → void - Half-close an open stream (no more requests).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recv(
Unmarshaler resp) → Future< void> - Decode the next response into resp. EndOfStreamError means the call completed OK; StatusException reports the trailers status.
-
send(
Marshaler msg) → void - Send one request message on an open stream (no half-close).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited