TTMSMCPCustomClientConnection.TransportType Property
Channel this connection uses to reach its server.
API unit family: TMS.MCP.Client.Connection
Declaring type: TTMSMCPCustomClientConnection
Type: TTMSMCPClientTransportType
Syntax
property TransportType: TTMSMCPClientTransportType;
Default: ttSTDIO
Remarks
Changing the value releases the current transport and builds a new one, which discards any transport-level state including the authorization settings reachable through OAuth. Changing it while the connection is running raises EMCPClientException; stop the connection first. The value can also change on its own: a server that does not support streamable HTTP makes the connection fall back to the server-sent-events channel.