TcpNetConnectOpts

@native @JSType trait TcpNetConnectOpts extends StObject with TcpSocketConnectOpts with SocketConstructorOpts with NetConnectOpts
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var timeout: UndefOr[Double]

Inherited fields

var allowHalfOpen: UndefOr[Boolean]
Inherited from
SocketConstructorOpts
var family: UndefOr[Double]
Inherited from
TcpSocketConnectOpts
var fd: UndefOr[Double]
Inherited from
SocketConstructorOpts
var hints: UndefOr[Double]
Inherited from
TcpSocketConnectOpts
var host: UndefOr[String]
Inherited from
TcpSocketConnectOpts
var localAddress: UndefOr[String]
Inherited from
TcpSocketConnectOpts
var localPort: UndefOr[Double]
Inherited from
TcpSocketConnectOpts
var lookup: UndefOr[LookupFunction]
Inherited from
TcpSocketConnectOpts
var onread: UndefOr[OnReadOpts]

If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will still be emitted as normal and methods like pause() and resume() will also behave as expected.

If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will still be emitted as normal and methods like pause() and resume() will also behave as expected.

Inherited from
ConnectOpts
var port: Double
Inherited from
TcpSocketConnectOpts
var readable: UndefOr[Boolean]
Inherited from
SocketConstructorOpts
var writable: UndefOr[Boolean]
Inherited from
SocketConstructorOpts