Table of Contents

TTMSMCPServer.SendResourceUpdatedNotification Method

Broadcasts a notifications/resources/updated message for one resource to every connected client, without testing subscriptions.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

procedure SendResourceUpdatedNotification(const AURI: string);

Remarks

Use SendResourceUpdatedForSession instead when the update should reach only the clients that actually subscribed to the resource. Does nothing when no client has initialized.

Parameters

Name Description
AURI URI of the resource whose content changed.