StreamResponse<I, O> class
final
StreamResponse is used in interceptors to represent an ongoing call that has zero or more input messages, and zero or more output messages.
Constructors
-
StreamResponse.new(Spec<
I, O> spec, Headers headers, Stream<O> message, Headers trailers) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
Headers received from the response.
finalinherited
-
message
→ Stream<
O> -
The output messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spec
→ Spec<
I, O> -
Spec of the call.
finalinherited
- trailers → Headers
-
Trailers received from the response.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited