Interface: DuplexConnectionOptions
Defined in: netconf/src/transport/duplex.ts:11
Options for duplexConnection.
Properties
close?
ts
readonly close?: () => Promise<void>;Defined in: netconf/src/transport/duplex.ts:18
Closes the stream and whatever is underneath it, gracefully. Default: end the stream, then destroy it if it hasn't closed within a moment.
Returns
Promise<void>
peer
ts
readonly peer: ConnectionPeer;Defined in: netconf/src/transport/duplex.ts:13
Who the stream talks to, reported as the connection's peer for logs and errors.