StreamRequest<I, O> class
final
StreamRequest is used in interceptors to represent a request that has zero or more input messages, and zero or more output messages.
Constructors
-
StreamRequest.new(Spec<
I, O> spec, String url, Headers headers, Stream<I> message, AbortSignal signal) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
Headers that will be sent along with the request.
finalinherited
-
message
→ Stream<
I> -
The input messages that will be transmitted.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal → AbortSignal
-
Signal to abort the call.
finalinherited
-
spec
→ Spec<
I, O> -
Spec of the call.
finalinherited
- url → String
-
The URL the request is going to hit
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