Skip to content

Interface: SessionTimeouts ​

Defined in: netconf/src/messages/session.ts:30

Timeouts in milliseconds. Infinity means no limit. Values above 2,147,483,647 (about 24.8 days, the longest timer the platform has) are shortened to it. A value that is not a number throws a TypeError, and zero, a negative number or NaN a RangeError, before anything is sent.

Extended by ​

Properties ​

close? ​

ts
readonly close?: number;

Defined in: netconf/src/messages/session.ts:36

Waiting for the reply to <close-session> before closing anyway. Default 5 s.


hello? ​

ts
readonly hello?: number;

Defined in: netconf/src/messages/session.ts:32

Receiving the server's hello once the connection is open. Default 30 s.


rpc? ​

ts
readonly rpc?: number;

Defined in: netconf/src/messages/session.ts:34

Each RPC, unless overridden per call. Default 60 s.

Released under the MIT Licence.