MCPcopy
hub / github.com/mitmproxy/mitmproxy / prox

Method prox

test/mitmproxy/data/addonscripts/recorder/recorder.py:15–19  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

13 if attr in hooks.all_hooks and attr != "add_log":
14
15 def prox(*args, **kwargs):
16 lg = (self.name, attr, args, kwargs)
17 logging.info(str(lg))
18 self.call_log.append(lg)
19 logging.debug(f"{self.name} {attr}")
20
21 return prox
22 raise AttributeError

Callers

nothing calls this directly

Calls 3

infoMethod · 0.80
appendMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected