TTMSMCPTransportProcessMessageEvent Event Type
Hands one inbound protocol message to the server and returns the message to send back.
API unit family: TMS.MCP.Transport
Remarks
This is the sessionless form. A transport that tracks sessions prefers TTMSMCPTransportProcessMessageContextEvent when that handler is assigned, so a server that needs to know which client sent the message should assign the context form instead.
Parameters
| Name | Description |
|---|---|
body |
Raw request text received from the client, normally a JSON-RPC message. |
Returns
The response text to return to the client, or an empty string when the message needs no answer (a notification).