McpServer.setRootsListChangedHandler

Convenience observer fired specifically on notifications/roots/list_changed. Invoked in addition to any handler registered via setClientNotificationHandler. Set to react to client root-list changes without inspecting the method string yourself.

class McpServer
@safe
void
setRootsListChangedHandler
(
void delegate
()
@safe
handler
)