WebSocket client component for use at design time. Publishes the connection settings and events of TTMSFNCCustomWebsocketClient so they can be configured in the IDE.
When set to True, connects and performs the handshake; when set to False, disconnects. Reading reflects the current connection state. Defaults to False. (inherited from TTMSFNCCustomWebsocketClient)
Interval in milliseconds used by the background driver when automatic message checking is enabled. Defaults to 50. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
When True, incoming messages are checked automatically by the background driver. When False, call CheckIncoming manually. Defaults to True. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
When True, received-message events are queued to the main thread so handlers can safely update the UI. When False, events fire on the background driver thread. Defaults to True. (inherited from TTMSFNCCustomWebsocketClient)
Local IP address to bind the outgoing socket to. Leave empty to let the system choose. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
Time in milliseconds CheckIncoming waits for data. A value of 0 returns immediately. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
Time in milliseconds to wait for the connection to be established. A value of 0 uses the platform default. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
Maximum payload size, in bytes, per frame used when SplitMessage is True. A value of 0 means no splitting. Defaults to 0. (inherited from TTMSFNCCustomWebsocketClient)
Optional Origin header value sent with the handshake. Mainly relevant for browser clients. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
TCP port of the server to connect to. Defaults to the standard WebSocket port. Cannot be changed while connected. (inherited from TTMSFNCCustomWebsocketClient)
Checks the connection for incoming data and processes one frame when available, waiting up to the configured check timeout. A received close frame triggers a disconnect. (inherited from TTMSFNCCustomWebsocketClient)
Opens the connection to the configured host and port and performs the upgrade handshake. On success the connection is registered for message checking and the connect event fires; on handshake failure the connection is closed. Does nothing when already connected. (inherited from TTMSFNCCustomWebsocketClient)
Closes the connection. When is True, a close frame is sent first; otherwise the socket is closed immediately. Does nothing when not connected. (inherited from TTMSFNCCustomWebsocketClient)
Fires when the server handshake response is received and validated, allowing the connection to be accepted or rejected. (inherited from TTMSFNCCustomWebsocketClient)