Skip to content

Interface: ConnectionPeer ​

Defined in: netconf/src/transport/types.ts:44

Who a connection talks to, for logs and errors.

Properties ​

host ​

ts
readonly host: string;

Defined in: netconf/src/transport/types.ts:46

The host name or address, as given to connect ('memory' for an in-memory pair).


identity? ​

ts
readonly identity?: string;

Defined in: netconf/src/transport/types.ts:50

Transport-specific identity, such as the SSH host-key fingerprint.


port ​

ts
readonly port: number;

Defined in: netconf/src/transport/types.ts:48

The port (0 for an in-memory pair).

Released under the MIT Licence.