Interface: SubscriptionsContent
Defined in: netconf/src/operations/subscriptions/extension.ts:47
What client.content.subscriptions holds.
Methods
capabilities()
capabilities(options?): Promise<SubscriptionCapabilities | undefined>;Defined in: netconf/src/operations/subscriptions/extension.ts:62
What the server can push, from its RFC 9196 /system-capabilities: on-change and periodic support, minimum periods and more, at system level and per datastore and node. Resolves with undefined, reading nothing more, when the server doesn't implement ietf-system-capabilities (it is in neither the hello nor the YANG library). See What the server can push.
Parameters
options?
Returns
Promise<SubscriptionCapabilities | undefined>
list()
list(options?): Promise<SubscriptionInfo[]>;Defined in: netconf/src/operations/subscriptions/extension.ts:53
Every dynamic subscription on the server, of every session (/subscriptions).
Parameters
options?
Returns
Promise<SubscriptionInfo[]>
streams()
streams(options?): Promise<StreamInfo[]>;Defined in: netconf/src/operations/subscriptions/extension.ts:51
The event streams the server offers (/streams).
Parameters
options?
Returns
Promise<StreamInfo[]>
support()
support(options?): Promise<SubscriptionSupport>;Defined in: netconf/src/operations/subscriptions/extension.ts:49
Which modules and features the server implements. Read once from the YANG library, then cached.
Parameters
options?
RpcOptions & object
Returns
Promise<SubscriptionSupport>