IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

web_socket_connection_accept_data Property

Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection.

Syntax

def get_web_socket_connection_accept_data(connection_id: int) -> bool: ...
def set_web_socket_connection_accept_data(connection_id: int, value: bool) -> None: ...

Default Value

TRUE

Remarks

Setting this property to False, temporarily disables data reception (and the on_data_in event) on the connection. Setting this to True, re-enables data reception.

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]