TTMSFNCWebSocketAllowConnectionEvent Event Type
Event fired after a connection request has been validated, allowing the handler to accept or reject the incoming connection.
API unit family: TMSFNCWebSocketServer
Parameters
| Name | Description |
|---|---|
Sender |
The object that raised the event. |
AConnection |
The connection requesting to be established. |
AAllow |
On entry contains the result of the built-in validation. Set to False in the handler to reject the connection, or leave True to accept it. |