BufferedStreamResponse class
Allows to read multiple times the content of a StreamedResponse
.
Constructors
- BufferedStreamResponse(StreamedResponse base)
Properties
- base → StreamedResponse
-
final
- contentLength → int?
-
The size of the response body, in bytes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
no setter
- isRedirect → bool
-
no setter
- persistentConnection → bool
-
Whether the server requested that a persistent connection be maintained.
no setter
- reasonPhrase → String?
-
The reason phrase associated with the status code.
no setter
- request → BaseRequest?
-
The (frozen) request that triggered this response.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status code for this response.
no setter
- stream → ByteStream
-
The stream from which the response body data can be read.
no setter
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