addRoot

fun addRoot(uri: String, name: String)(source)

Registers a single root.

Parameters

uri

The URI of the root.

name

A human-readable name for the root.

Throws

If the client does not support roots.