Table of Contents

TTMSMCPServerBuilder.WithTransport Method

Assigns the transport the server will use. Without this step the server creates a standard input/output transport when it is started.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServerBuilder

Syntax

class function WithTransport(const ATransport: TTMSMCPTransport): TTMSMCPServerBuilderClass;

Parameters

Name Description
ATransport Transport to use. The server does not take ownership of it.

Returns

Builder class to chain the next step on.