Socket class abstract

Implemented types
Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

Socket()

Properties

bufferSize int
no setter
bytesRead int
no setter
bytesWritten int
no setter
connecting bool
no setter
destroyed bool
no setter
hashCode int
The hash code for this object.
no setterinherited
localAddress String
no setter
localFamily String
no setter
localPort int
no setter
readableHighWaterMark int
no setterinherited
readableLength int
no setterinherited
remoteAddress String
no setter
remoteFamily String
no setter
remotePort int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writableHighWaterMark int
no setterinherited
writableLength int
no setterinherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
address() NetAddress
connect(dynamic arg1, [dynamic arg2, dynamic arg3]) Socket
See official documentation on possible signatures:
cork() → void
inherited
destroy([dynamic exception]) Socket
override
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
override
eventNames() List
inherited
getMaxListeners() int
inherited
isPaused() bool
inherited
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
pause() Socket
override
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
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
resume() Socket
override
setDefaultEncoding(String encoding) → void
inherited
setEncoding([String encoding]) Socket
override
setKeepAlive([bool enable, dynamic initialDelay]) Socket
setMaxListeners(int value) → void
inherited
setNoDelay([bool noDelay]) Socket
setTimeout(dynamic timeout, [void callback()]) Socket
toString() String
A string representation of this object.
inherited
uncork() → void
inherited
unpipe([Writable destination]) → void
inherited
unref() Socket
unshift(dynamic chunk) → void
inherited
wrap(dynamic stream) → void
inherited
write(dynamic chunk, [dynamic encodingOrCallback, void callback()]) bool
override

Operators

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