IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

web_socket_connection_ready_to_send Property

Indicates whether the class is ready to send data.

Syntax

def get_web_socket_connection_ready_to_send(connection_id: int) -> bool: ...

Default Value

FALSE

Remarks

Indicates whether the class is ready to send data.

This property indicates that the underlying TCP/IP subsystem is ready to accept data. This is True after a client connects, and will become False after a failed web_socket_connection_data_to_send.

After a failed web_socket_connection_data_to_send the on_ready_to_send event will fire and this property will be True when data can be sent again.

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.

This property is read-only.

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