Table of Contents

TTMSMCPCustomClientConnection.Stop Method

Closes the transport and discards the cached tool, resource, resource template and prompt catalogs.

API unit family: TMS.MCP.Client.Connection Declaring type: TTMSMCPCustomClientConnection

Syntax

procedure Stop;

Remarks

Does nothing when the connection is not running, so the cached catalogs of a connection that never started are left untouched. Any reference obtained from GetTools, GetResources or GetPrompts is invalid afterwards.