MCPcopy
hub / github.com/urllib3/urllib3 / connect

Method connect

src/urllib3/http2/connection.py:105–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return _LockedObject(h2.connection.H2Connection(config=config))
104
105 def connect(self) -> None:
106 super().connect()
107 with self._h2_conn as conn:
108 conn.initiate_connection()
109 if data_to_send := conn.data_to_send():
110 self.sock.sendall(data_to_send)
111
112 def putrequest( # type: ignore[override]
113 self,

Callers 1

create_connectionFunction · 0.45

Calls 1

sendallMethod · 0.45

Tested by

no test coverage detected