Skip to main content
Table of Contents

TTMSFNCWebsocketClient.OnHandshakeResponse Event

Fires when the server handshake response is received and validated, allowing the connection to be accepted or rejected.

API unit family: TMSFNCWebSocketClient Declaring type: TTMSFNCWebsocketClient Inherited from: TTMSFNCCustomWebsocketClient

Syntax

FMX.TMSFNCWebSocketClient.hppPascalC++
OnHandshakeResponse: TTMSFNCWebsocketClientHandshakeResponseEvent;
__property TTMSFNCWebsocketClientHandshakeResponseEvent OnHandshakeResponse = {read=FOnHandshakeResponse, write=FOnHandshakeResponse};

Parameters

Name Description
Sender The client that raised the event.
AResponse The parsed handshake response received from the server.
AAllow Set to False to reject the connection after the response is inspected.