Skip to content

Interface: NotificationsOps ​

Defined in: netconf/src/operations/notifications.ts:114

What client.ops.notifications holds.

Properties ​

active ​

ts
readonly active: boolean;

Defined in: netconf/src/operations/notifications.ts:118

True while a subscription is active on this session (even after it was disposed).


interleave ​

ts
readonly interleave: boolean;

Defined in: netconf/src/operations/notifications.ts:116

True if the server allows other operations on a subscribed session.

Methods ​

createSubscription() ​

ts
createSubscription(options?): Promise<Subscription>;

Defined in: netconf/src/operations/notifications.ts:120

Send <create-subscription> and return the subscription to read from.

Parameters ​

options? ​

SubscriptionOptions

Returns ​

Promise<Subscription>

Released under the MIT Licence.