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

procedure Stop; override;

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.