TTMSFNCWebSocketServerConnection.OnAllow Event
Occurs after a valid set of request headers has been received, so the handler can decide whether the connection is allowed. Set the event's allow parameter to
Falseto reject the connection.
API unit family: TMSFNCWebSocketServer
Declaring type: TTMSFNCWebSocketServerConnection
Syntax
OnAllow: TTMSFNCWebSocketAllowConnectionEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The connection that raised the event. |
AConnection |
The connection being evaluated. |
AAllow |
Set to False to reject the connection. |