Readonly
bufferReadonly
bytesReadonly
bytesReadonly
connectingReadonly
destroyedReadonly
localReadonly
localReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readableReadonly
readyOptional
Readonly
remoteOptional
Readonly
remoteOptional
Readonly
remoteOptional
Readonly
timeoutThe socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
v10.7.0
Readonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableOptional
_writevevents.EventEmitter
Rest
...args: any[]Optional
connectionListener: (() => void)Optional
connectionListener: (() => void)Optional
connectionListener: (() => void)Optional
connectionListener: (() => void)Optional
error: ErrorRest
...args: any[]Optional
cb: (() => void)Optional
cb: (() => void)Optional
encoding: stringOptional
cb: (() => void)Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Optional
event: string | symbolRest
...args: any[]Optional
encoding: stringOptional
enable: booleanOptional
initialDelay: numberOptional
noDelay: booleanOptional
callback: (() => void)Optional
destination: WritableStreamOptional
cb: ((err?: Error) => void)Optional
err: ErrorOptional
encoding: stringOptional
cb: ((err?: Error) => void)Optional
err: Error
This property represents the state of the connection as a string.
See
Since
v0.5.0