Response class
Constructors
- Response(HttpResponse _res)
Properties
- bufferOutput → bool
-
read-only
- connectionInfo → HttpConnectionInfo
-
read-only
- contentLength → int
-
read-only
-
read-only
- deadline ↔ Duration
-
read / write
- done → Future
-
read-only
- encoding → Encoding
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- headers → HttpHeaders
-
read-only
- headersSent → bool
-
read-only
- persistentConnection ↔ bool
-
read / write
- reasonPhrase → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- statusCode ↔ int
-
read / write
Methods
-
add(
dynamic data) → dynamic -
addError(
dynamic data, [StackTrace stacktrace]) → dynamic -
addStream(
Stream< List< stream) → Futureint> > -
close(
) → Future -
detachSocket(
{bool writeHeaders: true}) → Future< Socket> -
flush(
) → Future -
json(
Object json) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
redirect(
Uri location, {int status: HttpStatus.movedTemporarily}) → Future -
send(
String message, {ContentType contentType}) → Future -
status(
int code) → Response -
toString(
) → String -
Returns a string representation of this object.
inherited
-
write(
dynamic obj) → void -
writeAll(
Iterable objects, [String separator = ""]) → void -
writeCharCode(
int charCode) → void -
writeln(
[Object obj = ""]) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited