IPWorks SSH 2020 Python Edition

Questions / Feedback?

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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]