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

Method factory

src/websockets/asyncio/client.py:391–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389 proxy = get_proxy(ws_uri)
390
391 def factory() -> ClientConnection:
392 return self.protocol_factory(ws_uri)
393
394 if ws_uri.secure:
395 kwargs.setdefault("ssl", True)

Callers

nothing calls this directly

Calls 1

protocol_factoryMethod · 0.95

Tested by

no test coverage detected