Table of Contents

TTMSMCPTransportGetSessionProtocolVersionEvent Event Type

Asks the server which protocol version was negotiated for a session, so the transport can check a per-request version header against it.

API unit family: TMS.MCP.Transport

Remarks

Letting the server answer keeps a single record of the negotiated version instead of the transport carrying its own copy.

Parameters

Name Description
SessionId Session whose negotiated version is being asked for.

Returns

The negotiated version, or an empty string when no version has been recorded for the session yet - which is the case while the initialize handshake is still running.