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
OnHandshakeResponse: TTMSFNCWebsocketClientHandshakeResponseEvent;
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. |