listRoots

suspend fun listRoots(params: JsonObject = EmptyJsonObject, options: RequestOptions? = null): ListRootsResult(source)

Lists the available "roots" from the client's perspective (if supported).

Return

The list of roots.

Parameters

params

JSON parameters for the request, usually empty.

options

Optional request options.

Throws

If the server or client does not support roots.