TTMSMCPClientTransportSSE.OnCreateIOHandler Event
Occurs before a secure stream connection is opened, so that the application can supply the connection handler itself instead of letting the transport create a default one.
API unit family: TMS.MCP.Client.Transport.SSE
Declaring type: TTMSMCPClientTransportSSE
Type: TTMSMCPClientTransportCreateIOHandler
Syntax
property OnCreateIOHandler: TTMSMCPClientTransportCreateIOHandler;
Remarks
Raised on the reader worker, and only for an address beginning with https. The variable the handler receives is uninitialized, so it must be assigned unconditionally. It is not raised for the messages the client posts, which always use a default handler.