DVHttpStreamedResponse class
A response whose body is still arriving.
Constructors
-
DVHttpStreamedResponse({required int statusCode, required Map<
String, String> headers, required Stream<List< body, DVHttpProtocol? protocol, List<int> >DVEarlyHints> earlyHints = const <DVEarlyHints>[]}) -
const
Properties
-
body
→ Stream<
List< int> > -
The body as it arrives. Listening to it is what keeps the connection
open; the underlying client closes when the stream completes.
final
-
earlyHints
→ List<
DVEarlyHints> -
Early hints received before the final response, in arrival order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
- isSuccess → bool
-
no setter
- protocol → DVHttpProtocol?
-
The protocol the response arrived over, when the transport reports it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
final
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