TTMSMCPSSEMessage Record
One already-formatted event waiting in the channel's outbound queue.
API unit family: TMS.MCP.Transport.SSE
Syntax
TTMSMCPSSEMessage = record
Remarks
Queued by the channel when an answer is ready, and written to the client by a worker thread. The text is complete when the record is queued, so nothing is formatted at the time of writing.
Fields and properties
| Name | Type | Description |
|---|---|---|
ClientId |
string |
Client the event is addressed to, identified by its remote address and port. |
Connection |
TTMSMCPHTTPServerConnection |
Open connection the event is written to. |
Msg |
string |
The complete event text to write, including its identifier, type and terminating blank line. |