RootsListChangedNotification

A notification from the client to the server, informing it that the list of roots has changed.

This notification should be sent whenever the client adds, removes, or modifies any root. The server should then request an updated list of roots using the ListRootsRequest. Sent only if the client's ClientCapabilities.roots has listChanged = true.

Constructors

Link copied to clipboard
constructor(params: BaseNotificationParams? = null)

Properties

Link copied to clipboard
open override val method: Method

The notification method identifier.

Link copied to clipboard
open override val params: BaseNotificationParams?

Optional notification parameters containing metadata.

Functions

Link copied to clipboard

Converts the notification to a JSON-RPC notification.