MCPcopy Index your code
hub / github.com/python-websockets/websockets / create_connection

Method create_connection

tests/sync/test_client.py:119–122  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

117 """Client runs ClientConnection factory provided in create_connection."""
118
119 def create_connection(*args, **kwargs):
120 client = ClientConnection(*args, **kwargs)
121 client.create_connection_ran = True
122 return client
123
124 with run_server() as server:
125 with connect(

Calls 1

ClientConnectionClass · 0.50

Tested by

no test coverage detected