Table of Contents

TTMSFNCWebSocketServer.OnAllow Event

Occurs after the handshake request has been received, allowing the handler to reject the connection by clearing the allow parameter.

API unit family: TMSFNCWebSocketServer Declaring type: TTMSFNCWebSocketServer Inherited from: TTMSFNCCustomWebSocketServer

Syntax

OnAllow: TTMSFNCWebSocketAllowConnectionEvent;

Parameters

Name Description
Sender The server that raised the event.
AConnection The connection being evaluated.
AAllow Set to False to reject the connection.