TTMSMCPClientTransportSSE.OnResponse Event
Occurs with the status and headers of the stream response, before its body is consumed.
API unit family: TMS.MCP.Client.Transport.SSE
Declaring type: TTMSMCPClientTransportSSE
Type: TTMSMCPClientTransportResponseEvent
Syntax
property OnResponse: TTMSMCPClientTransportResponseEvent;
Remarks
Raised on the reader worker. The flag the handler receives enters set when the request succeeded; clearing it makes the worker leave the stream unread even though the connection was accepted.