listResources

suspend fun listResources(request: ListResourcesRequest = ListResourcesRequest(), options: RequestOptions? = null): ListResourcesResult?(source)

Lists all available resources from the server.

Return

The list of resources, or null if none.

Parameters

request

A request object for listing resources (usually empty).

options

Optional request options.

Throws

If the server does not support resources.