Skip to main content
Table of Contents

TTMSMCPClientTransportSSE.Stop Method

Signals the reader worker to end and marks the transport as no longer running.

API unit family: TMS.MCP.Client.Transport.SSE Declaring type: TTMSMCPClientTransportSSE

Syntax

TMS.MCP.Client.Transport.SSE.hppPascalC++
procedure Stop; override;
virtual void __fastcall Stop();

Remarks

The call does not wait for the worker to finish, so the stream request may still be closing when it returns; destruction waits for it instead. Calling this while the transport is not running has no effect.