Interface: FakeServerOptions
Defined in: netconf/src/testing/fake-server.ts:80
Options for a FakeServer.
Properties
capabilities?
ts
readonly capabilities?: readonly string[];Defined in: netconf/src/testing/fake-server.ts:84
Server capabilities. Default: base 1.0 and 1.1.
handler?
ts
readonly handler?: RpcHandler;Defined in: netconf/src/testing/fake-server.ts:86
Called for every <rpc> except <close-session>. Default: reply <ok/>.
hello?
ts
readonly hello?: string | false;Defined in: netconf/src/testing/fake-server.ts:88
Replace the server hello with this raw text (EOM-framed for you), or false to send none.
sessionId?
ts
readonly sessionId?: number;Defined in: netconf/src/testing/fake-server.ts:82
The session id sent in the server hello. Default 1.