ServerResponse class abstract

Implemented types
Annotations
  • @JS()
  • @anonymous

Constructors

ServerResponse()

Properties

connection Socket
no setter
finished bool
no setter
hashCode int
The hash code for this object.
no setterinherited
headersSent bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendDate bool
no setter
socket Socket
no setter
statusCode num
getter/setter pair
statusMessage String
getter/setter pair
writableHighWaterMark int
no setterinherited
writableLength int
no setterinherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
addTrailers(dynamic headers) → void
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
override
eventNames() List
inherited
getHeader(String name) → dynamic
getHeaderNames() List<String>
getHeaders() → dynamic
getMaxListeners() int
inherited
hasHeader(String name) bool
listenerCount(dynamic eventName) int
inherited
listeners(dynamic eventName) List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
setDefaultEncoding(String encoding) → void
inherited
setHeader(String name, dynamic value) → void
setMaxListeners(int value) → void
inherited
setTimeout(num msecs, [dynamic callback]) → void
toString() String
A string representation of this object.
inherited
uncork() → void
inherited
write(dynamic chunk, [dynamic encodingOrCallback, void callback()]) bool
override
writeContinue() → void
writeHead(num statusCode, [String statusMessage, dynamic headers]) → void

Operators

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