TTMSMCPClientTransportSSE.OnHTTPResponse Event
Occurs when the stream request came back with a status other than success, which means no stream was established.
API unit family: TMS.MCP.Client.Transport.SSE
Declaring type: TTMSMCPClientTransportSSE
Type: TTMSMCPClientTransportHTTPResponseEvent
Syntax
property OnHTTPResponse: TTMSMCPClientTransportHTTPResponseEvent;
Remarks
Raised on the reader worker, which then ends; the transport still reports itself as running, so call Stop from the handler if the failure should end the session. The response body is not read, so the content argument is empty.