client_user_data Property
The UserData property holds connection specific user specified data.
Syntax
def get_client_user_data(client_id: int) -> bytes: ... def set_client_user_data(client_id: int, value: bytes) -> None: ...
Default Value
""
Remarks
The client_user_data property holds connection specific user specified data.
User specified data may be set or retrieved at any point while the connection is valid. This provides a simple way to associate arbitrary data with a specific connection.
The client_id parameter specifies the index of the item in the array. The size of the array is controlled by the client_count property.