TTMSMCPClientTransportHTTP.OnResponse Event
Occurs with the status and headers of a response as soon as they arrive, before its body is read.
API unit family: TMS.MCP.Client.Transport.HTTP
Declaring type: TTMSMCPClientTransportHTTP
Type: TTMSMCPClientTransportResponseEvent
Syntax
property OnResponse: TTMSMCPClientTransportResponseEvent;
Remarks
Raised on the worker that issued the request. The flag the handler receives enters set when the request succeeded; clearing it makes the worker abandon the response, so the body is neither read nor reported, which on a streaming answer means the stream is dropped before any message is taken from it.