IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

connect Method

Connects to the specified host.

Syntax

def connect(url: str) -> None: ...

Remarks

The on_connect method will establish a WebSocket connection to the host and port specified in the URL parameter. The URL must be specified in the format "ws://host:[port]/[URI]" for plain-text connections or "wss://host:[port]/[URI]" for SSL enabled connections.

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