Table of Contents

TTMSFNCCustomWebsocketClient.Connect Method

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.

API unit family: TMSFNCWebSocketClient Declaring type: TTMSFNCCustomWebsocketClient

Syntax

procedure Connect;