MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / setup

Method setup

mitmproxy/platform/windows.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.lock = threading.RLock()
55
56 def setup(self):
57 with self.lock:
58 TransparentProxy.setup()
59 self._connect()
60
61 def _connect(self):
62 if self.sock:

Callers

nothing calls this directly

Calls 1

_connectMethod · 0.95

Tested by

no test coverage detected