TcpNetConnectOpts

Properties

Link copied to clipboard
abstract var allowHalfOpen: Boolean?
Link copied to clipboard
abstract var autoSelectFamily: Boolean?
Link copied to clipboard
Link copied to clipboard
abstract var family: Double?
Link copied to clipboard
abstract var fd: Double?
Link copied to clipboard
abstract var hints: Double?
Link copied to clipboard
abstract var host: String?
Link copied to clipboard
abstract var keepAlive: Boolean?
Link copied to clipboard
Link copied to clipboard
abstract var localAddress: String?
Link copied to clipboard
abstract var localPort: Double?
Link copied to clipboard
abstract var lookup: LookupFunction?
Link copied to clipboard
abstract var noDelay: Boolean?
Link copied to clipboard
abstract var onread: 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.

Link copied to clipboard
abstract var port: Double
Link copied to clipboard
abstract var readable: Boolean?
Link copied to clipboard
abstract var signal: AbortSignal?
Link copied to clipboard
abstract var timeout: Double?
Link copied to clipboard
abstract var writable: Boolean?