IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

on_connected Event

Fired when a WebSocket is successfully opened.

Syntax

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

# In class WebSocketProxy:
@property
def on_connected() -> Callable[[WebSocketProxyConnectedEventParams], None]: ...
@on_connected.setter
def on_connected(event_hook: Callable[[WebSocketProxyConnectedEventParams], None]) -> None: ...

Remarks

The on_connected event is fired when a WebSocket is successfully opened on a connection.

ConnectionId identifies the connection.

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