MCPcopy
hub / github.com/mitmproxy/mitmproxy / load

Method load

test/mitmproxy/addons/test_keepserving.py:12–15  ·  view source on GitHub ↗
(self, loader)

Source from the content-addressed store, hash-verified

10 self.val = val
11
12 def load(self, loader):
13 loader.add_option("client_replay", bool, self.val, "test")
14 loader.add_option("server_replay", bool, self.val, "test")
15 loader.add_option("rfile", bool, self.val, "test")
16
17 @command.command("readfile.reading")
18 def readfile(self) -> bool:

Callers

nothing calls this directly

Calls 1

add_optionMethod · 0.45

Tested by

no test coverage detected