Table of Contents

TTMSMCPClientTransportSSE.Start Method

Opens the event stream to URL and begins reading it.

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

Syntax

procedure Start; override;

Remarks

Does nothing when the transport is already running. A worker that was stopped earlier is replaced by a fresh one, so a transport can be started again after Stop. The address is read from URL at this point, so set it first; changing it later only affects the next start. The call returns as soon as the worker is under way, before the connection is established. The transport is not yet able to send at that moment: wait for OnInitialized, which reports that the server has named the address to post to.