HtmlResponse class

ResponseWriter type to send html response

Inheritance

Constructors

HtmlResponse(String htmlOrDir)

Properties

add ↔ dynamic Function(List<int> data)
getter/setter pairinherited
addStream ↔ dynamic Function(Stream<List<int>> stream)
getter/setter pairinherited
connectionInfo HttpConnectionInfo?
latefinalinherited
cookies List<Cookie>
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
headers HttpHeaders
latefinalinherited
htmlOrDir String
final
redirect ↔ dynamic Function(Uri location, {int status})
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setStatus ↔ dynamic Function(int status)
getter/setter pairinherited
write ↔ dynamic Function(Object? object)
getter/setter pairinherited
writeAll ↔ dynamic Function(Iterable objects, [String separator])
getter/setter pairinherited
writeln ↔ dynamic Function([Object? object])
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeResp() Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited