Methods
-
addListener(dynamic eventName, Function listener)
→ void
-
inherited
-
address()
→ NetAddress
-
inherited
-
clearLine(num dir, [void callback()])
→ bool
-
Clears the current line of this stream in a direction identified by
dir
.
-
clearScreenDown([void callback()])
→ bool
-
Clears this stream from the current cursor down.
-
connect(dynamic arg1, [dynamic arg2, dynamic arg3])
→ Socket
-
See official documentation on possible signatures:
inherited
-
cork()
→ void
-
inherited
-
cursorTo(num x, [num y, void callback()])
→ bool
-
Moves this stream's cursor to the specified position.
-
destroy([dynamic exception])
→ Socket
-
inherited
-
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6])
→ void
-
inherited
-
end([dynamic data, dynamic encoding, void unused()])
→ Socket
-
inherited
-
eventNames()
→ List
-
inherited
-
getColorDepth([dynamic env])
→ num
-
Use this to determine what colors the terminal supports.
-
getMaxListeners()
→ int
-
inherited
-
getWindowSize()
→ List<num>
-
Returns the size of the TTY corresponding to this stream.
-
hasColors([dynamic count, dynamic env])
→ bool
-
Returns true if this stream supports at least as many colors as provided
in count.
-
isPaused()
→ bool
-
inherited
-
listenerCount(dynamic eventName)
→ int
-
inherited
-
listeners(dynamic eventName)
→ List<Function>
-
inherited
-
moveCursor(num dx, num dy, [void callback()])
→ bool
-
Moves this stream's cursor relative to its current position.
-
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
-
pause()
→ Socket
-
inherited
-
pipe(Writable destination, [dynamic options])
→ Writable
-
inherited
-
prependListener(dynamic eventName, Function listener)
→ EventEmitter
-
inherited
-
prependOnceListener(dynamic eventName, Function listener)
→ EventEmitter
-
inherited
-
push(dynamic chunk, [dynamic encoding])
→ bool
-
inherited
-
rawListeners(dynamic eventName)
→ List<Function>
-
inherited
-
read([int size])
→ dynamic
-
inherited
-
ref()
→ Socket
-
inherited
-
removeAllListeners(dynamic eventName)
→ EventEmitter
-
inherited
-
removeListener(dynamic eventName, Function listener)
→ EventEmitter
-
inherited
-
resume()
→ Socket
-
inherited
-
setDefaultEncoding(String encoding)
→ void
-
inherited
-
setEncoding([String encoding])
→ Socket
-
inherited
-
setKeepAlive([bool enable, dynamic initialDelay])
→ Socket
-
inherited
-
setMaxListeners(int value)
→ void
-
inherited
-
setNoDelay([bool noDelay])
→ Socket
-
inherited
-
setTimeout(dynamic timeout, [void callback()])
→ Socket
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
uncork()
→ void
-
inherited
-
unpipe([Writable destination])
→ void
-
inherited
-
unref()
→ Socket
-
inherited
-
unshift(dynamic chunk)
→ void
-
inherited
-
wrap(dynamic stream)
→ void
-
inherited
-
write(dynamic chunk, [dynamic encodingOrCallback, void callback()])
→ bool
-
inherited