IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

web_socket_connection_connected Property

This property is used to disconnect individual connections and/or show their status.

Syntax

def get_web_socket_connection_connected(connection_id: int) -> bool: ...
def set_web_socket_connection_connected(connection_id: int, value: bool) -> None: ...

Default Value

FALSE

Remarks

This property is used to disconnect individual connections and/or show their status.

The web_socket_connection_connected property may be set to false to close the connection.

web_socket_connection_connected also shows the status of a particular connection (connected/disconnected).

The connection_id parameter specifies the index of the item in the array. The size of the array is controlled by the web_socket_connection_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 Python Edition - Version 20.0 [Build 8155]