-
bufferOutput
↔ bool
-
Gets or sets if the HttpResponse should buffer output.
getter/setter pairoverride
-
connectionInfo
→ HttpConnectionInfo?
-
Gets information about the client connection. Returns
null if the
socket is not available.
no setteroverride
-
contentLength
↔ int
-
Gets and sets the content length of the response. If the size of
the response is not known in advance set the content length to
-1, which is also the default if not set.
getter/setter pairoverride
-
cookies
→ List<Cookie>
-
Cookies to set in the client (in the 'set-cookie' header).
no setteroverride
-
deadline
↔ Duration?
-
Set and get the deadline for the response. The deadline is timed from the
time it's set. Setting a new deadline will override any previous deadline.
When a deadline is exceeded, the response will be closed and any further
data ignored.
getter/setter pairoverride
-
done
→ Future
-
A future that will complete when the consumer closes, or when an
error occurs.
no setteroverride
-
encoding
↔ Encoding
-
The Encoding used when writing strings.
getter/setter pairoverride
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Returns the response headers.
getter/setter pairoverride-getter
-
isEmpty
→ bool
-
Returns whether the buffer is empty. This is a constant-time operation.
no setterinherited
-
isNotEmpty
→ bool
-
Returns whether the buffer is not empty. This is a constant-time
operation.
no setterinherited
-
length
→ int
-
Returns the length of the content that has been accumulated so far.
This is a constant-time operation.
no setterinherited
-
persistentConnection
↔ bool
-
Gets and sets the persistent connection state. The initial value
of this property is the persistent connection state from the
request.
getter/setter pairoverride
-
reasonPhrase
↔ String
-
The reason phrase for the response.
getter/setter pairoverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusCode
↔ int
-
The status code of the response.
getter/setter pairoverride