TTMSMCPStreamableHTTPTransport.BroadcastNotification Method
Pushes a server-initiated notification to every open session.
API unit family: TMS.MCP.Transport.StreamableHTTP
Declaring type: TTMSMCPStreamableHTTPTransport
Syntax
procedure BroadcastNotification(const ANotification: string); override;
Remarks
Delivered one session at a time against a snapshot of the open sessions, so a session opened while the call is in progress may miss it. Each delivery behaves as described for TTMSMCPStreamableHTTPTransport.SendNotificationToSession.
Parameters
| Name | Description |
|---|---|
ANotification |
Notification text to send, normally a JSON-RPC notification. |