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

Class ConservativeStrategy

proxy.py:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
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 1

configureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected