Table of Contents

TTMSFNCWebSocketServerConnection.UserData Property

An arbitrary object that the application can associate with this connection, for example to track session or user state.

API unit family: TMSFNCWebSocketServer Declaring type: TTMSFNCWebSocketServerConnection Type: TObject

Syntax

property UserData: TObject;

Remarks

Set OwnsUserData to True to have the connection free this object when it is destroyed.