TTMSMCPClientTransportResponseEvent Event Type
Reports the status line and headers of a response as soon as they arrive, before its body is read, and lets the handler decide whether the body is still worth processing.
API unit family: TMS.MCP.Client.Transport
Remarks
Raised on the worker that issued the request. Because it fires before the body is read, a handler that clears the flag stops a streaming response from being consumed at all.
Parameters
| Name | Description |
|---|---|
AResponseCode |
Status code of the response. |
AResponseText |
Status text that accompanies the code. |
AHeaders |
Raw response headers. The list belongs to the request and must not be modified or released by the handler. |
AProcessResponse |
Enters set when the status code indicates success. Clearing it makes the transport abandon the response instead of reading and dispatching its body. |