MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / HelperAddon

Class HelperAddon

test/mitmproxy/addons/test_proxyserver.py:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class HelperAddon:
48 def __init__(self):
49 self.flows = []
50
51 def request(self, f):
52 self.flows.append(f)
53
54 def tcp_start(self, f):
55 self.flows.append(f)
56
57
58async def test_start_stop(caplog_async):

Callers 2

test_start_stopFunction · 0.85
test_injectFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_start_stopFunction · 0.68
test_injectFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…