addRoot

fun addRoot(root: Root): Boolean

Adds a Root to the client. If a root with the same name or uri already exists, it will not be added.

Return

true if the root was added, false otherwise.