MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / should_intercept

Method should_intercept

proxy.py:113–114  ·  view source on GitHub ↗
(self, server_address: connection.Address)

Source from the content-addressed store, hash-verified

111 super().__init__()
112
113 def should_intercept(self, server_address: connection.Address) -> bool:
114 return random.uniform(0, 1) < self.p
115
116
117class MaybeTls:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected