addResources

Registers multiple resources at once.

Parameters

resourcesToAdd

A list of RegisteredResource objects representing the resources to register.

Throws

If the server does not support resources.