Response class

Implemented types
Annotations

Constructors

Response()

Properties

app Application
read-only
headersSent → bool
read-only, override
locals → dynamic
read-only
connection Socket
read-only, inherited
finished → bool
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
sendDate → bool
read-only, inherited
socket Socket
read-only, inherited
statusCode ↔ num
read / write, inherited
statusMessage ↔ String
read / write, inherited
writableHighWaterMark → int
read-only, inherited
writableLength → int
read-only, inherited

Methods

append(String field, [dynamic value]) → void
attachment([String filename]) → void
clearCookie(String name, [CookieOptions options]) → void
download(String path, [String filename, dynamic fn]) → void
format(dynamic object) → void
get(String field) → dynamic
json([dynamic body]) → void
jsonp([dynamic body]) → void
location(String path) → void
redirect(num status, String path) → void
render(dynamic view, dynamic locals, dynamic callback(dynamic err, dynamic html)) → void
send([dynamic body]) → void
sendFile(String path, [SendFileOptions options, dynamic fn]) → void
sendStatus(num statusCode) → void
set(String field, [dynamic value]) → void
status(num statusCode) → void
type(String type) → void
vary(String field) → void
addListener(dynamic eventName, Function listener) → void
inherited
addTrailers(dynamic headers) → void
inherited
cork() → void
inherited
destroy([dynamic error]) Writable
inherited
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
end([dynamic data, dynamic encodingOrCallback, void callback()]) → void
inherited
eventNames() → List
inherited
getHeader(String name) → dynamic
inherited
getHeaderNames() → List<String>
inherited
getHeaders() → dynamic
inherited
getMaxListeners() → int
inherited
hasHeader(String name) → bool
inherited
listenerCount(dynamic eventName) → int
inherited
listeners(dynamic eventName) → List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
on(dynamic eventName, Function listener) EventEmitter
inherited
once(dynamic eventName, Function listener) EventEmitter
inherited
prependListener(dynamic eventName, Function listener) EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) EventEmitter
inherited
rawListeners(dynamic eventName) → List<Function>
inherited
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeHeader(String name) → void
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
setDefaultEncoding(String encoding) → void
inherited
setHeader(String name, dynamic value) → void
inherited
setMaxListeners(int value) → void
inherited
setTimeout(num msecs, [dynamic callback]) → void
inherited
toString() → String
Returns a string representation of this object.
inherited
uncork() → void
inherited
write(dynamic chunk, [dynamic encodingOrCallback, void callback()]) → bool
inherited
writeContinue() → void
inherited
writeHead(num statusCode, [String statusMessage, dynamic headers]) → void
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited