Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Serializable
@SerialName(value = "roots/list")
data class ListRootsRequest(val id: String) : JsonRpcRequest
Link copied to clipboard
@Serializable
data class ListRootsResult(val roots: List<Root>, val _meta: Map<String, JsonElement>? = null) : Result
Link copied to clipboard
@Serializable
data class Root(val uri: String, val name: String? = null)
Link copied to clipboard
@Serializable
@SerialName(value = "notifications/roots/list_changed")
data class RootsListChangedNotification(val params: NotificationParams? = null) : JsonRpcNotification

A notification from the client to the server, informing that the list of roots has changed. The server may now request roots/list again to get the updated set of roots.