Table of Contents

TTMSMCPStreamableHTTPTransport.ActiveSessionIds Method

Returns the identifiers of the sessions that are currently open.

API unit family: TMS.MCP.Transport.StreamableHTTP Declaring type: TTMSMCPStreamableHTTPTransport

Syntax

function ActiveSessionIds: TArray<string>; override;

Remarks

A snapshot: a session may be purged or terminated immediately afterwards, so treat an identifier from this list as possibly stale rather than guaranteed live. Stateless requests never appear here, because they create no session.

Returns

One entry per open session, in no particular order. Empty when no client has completed the handshake.