Table of Contents

TTMSMCPServer.GetSessionProtocolVersion Method

Returns the protocol version negotiated for a specific session, regardless of which request is currently being handled.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

function GetSessionProtocolVersion(const SessionId: string): string;

Parameters

Name Description
SessionId Identifier of the session to query.

Returns

Negotiated version string, or an empty string when the identifier is empty or unknown.