StreamHttpResponse class

Inheritance

Constructors

StreamHttpResponse.new({required Stream<List<int>> bodyBytesStream, required HttpRequestBase originalRequest, required String? reasonPhrase, required int statusCode, required Map<String, String> headers, Map<String, dynamic> context = const {}})
const

Properties

bodyBytesStream Stream<List<int>>
final
contentLength int?
Estimated content length of the request. The default implementation gets this value from the Content-Length header.
no setterinherited
context Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
headersWithContentLength Map<String, String>
Gets the headers and appends contentLength to it if available.
no setterinherited
originalRequest HttpRequestBase
final
reasonPhrase String?
The reason phrase associated with the status code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The HTTP status code for this response.
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