IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

on_ready_to_send Event

Fired when the class is ready to send data.

Syntax

class WebSocketServerReadyToSendEventParams(object):
  @property
  def connection_id() -> int: ...

# In class WebSocketServer:
@property
def on_ready_to_send() -> Callable[[WebSocketServerReadyToSendEventParams], None]: ...
@on_ready_to_send.setter
def on_ready_to_send(event_hook: Callable[[WebSocketServerReadyToSendEventParams], None]) -> None: ...

Remarks

The on_ready_to_send event indicates that the underlying TCP/IP subsystem is ready to accept data after a failed data_to_send. The event is also fired immediately after a connection is established.

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