MCPcopy Create free account
hub / github.com/python-websockets/websockets / __init__

Method __init__

src/websockets/client.py:345–350  ·  view source on GitHub ↗
(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

343
344class ClientConnection(ClientProtocol):
345 def __init__(self, *args: Any, **kwargs: Any) -> None:
346 warnings.warn( # deprecated in 11.0 - 2023-04-02
347 "ClientConnection was renamed to ClientProtocol",
348 DeprecationWarning,
349 )
350 super().__init__(*args, **kwargs)
351
352
353BACKOFF_INITIAL_DELAY = float(os.environ.get("WEBSOCKETS_BACKOFF_INITIAL_DELAY", "5"))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected