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

Method should_intercept

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

Source from the content-addressed store, hash-verified

102
103class ConservativeStrategy(TlsStrategy):
104 def should_intercept(self, server_address: connection.Address) -> bool:
105 return InterceptionResult.FAILURE not in self.history[server_address]
106
107
108class ProbabilisticStrategy(TlsStrategy):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected