Table of Contents

TTMSFNCWebsocketClient.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: TTMSFNCWebsocketClient Inherited from: TTMSFNCCustomWebsocketClient

Syntax

procedure Connect;