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

Class ClientConnection

src/websockets/client.py:344–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342
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 3

create_connectionMethod · 0.50
create_connectionMethod · 0.50

Calls

no outgoing calls

Tested by 3

create_connectionMethod · 0.40
create_connectionMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…