Table of Contents

TTMSMCPCustomClientConnection.Start Method

Opens the transport and begins the handshake with the server.

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

Syntax

procedure Start;

Remarks

Does nothing when the connection is already running. Over standard streams the server process is launched from Command, Args and EnvironmentVariables and the handshake starts at once; over HTTP or server-sent events the address in URL is contacted and the handshake starts when the transport reports that it is ready, so the connection is not usable the moment this method returns. Wait for OnInitialized. When a server does not support streamable HTTP, the connection restarts itself over the server-sent-events channel, which changes TransportType.