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

Method __init__

mitmproxy/tools/dump.py:11–26  ·  view source on GitHub ↗
(
        self,
        options: options.Options,
        loop=None,
        with_termlog=True,
        with_dumper=True,
    )

Source from the content-addressed store, hash-verified

9
10class DumpMaster(master.Master):
11 def __init__(
12 self,
13 options: options.Options,
14 loop=None,
15 with_termlog=True,
16 with_dumper=True,
17 ) -> None:
18 super().__init__(options, event_loop=loop, with_termlog=with_termlog)
19 self.addons.add(*addons.default_addons())
20 if with_dumper:
21 self.addons.add(dumper.Dumper())
22 self.addons.add(
23 keepserving.KeepServing(),
24 readfile.ReadFileStdin(),
25 errorcheck.ErrorCheck(),
26 )

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected