TTMSMCPCustomServer.ProcessRequest Method
Processes one inbound JSON-RPC message and returns the response text. This is the entry point a transport calls for every message it receives.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPCustomServer
Syntax
function ProcessRequest(const Body: string): string;
Remarks
A message without a method is treated as the answer to a request this server sent to the client and is routed to the waiting caller. A message without an identifier is a notification and produces an empty string.
Parameters
| Name | Description |
|---|---|
Body |
Raw JSON-RPC message text. |
Returns
Response text to send back, or an empty string when the message needs no response.