Skip to main content
Table of Contents

TTMSMCPSseTransport.GetServerURL Method

Returns the base address the channel listens on.

API unit family: TMS.MCP.Transport.SSE Declaring type: TTMSMCPSseTransport

Syntax

TMS.MCP.Transport.SSE.hppPascalC++
function GetServerURL: string;
System::UnicodeString __fastcall GetServerURL();

Remarks

Always names the local host, so it describes how to reach the channel from the same machine. It is not the address to hand to a remote client, and it does not account for a reverse proxy in front of the channel.

Returns

The scheme - reflecting TTMSMCPSseTransport.UseSSL - followed by localhost and the configured port.