Table of Contents

TTMSMCPClientTransportSSE.OnHTTPCustomHeaders Event

Occurs before the stream request is issued, so that the application can add its own request headers, for instance to carry credentials.

API unit family: TMS.MCP.Client.Transport.SSE Declaring type: TTMSMCPClientTransportSSE Type: TTMSMCPClientTransportCustomHeaderEvent

Syntax

property OnHTTPCustomHeaders: TTMSMCPClientTransportCustomHeaderEvent;

Remarks

Raised on the reader worker, once per stream request. The list handed to the handler is empty and is released by the transport afterwards. It is not raised for the messages the client posts, which are sent without these headers.