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

Method clear

mitmproxy/addonmanager.py:141–148  ·  view source on GitHub ↗

Remove all addons.

(self)

Source from the content-addressed store, hash-verified

139 self.trigger(hooks.ConfigureHook(updated))
140
141 def clear(self):
142 """
143 Remove all addons.
144 """
145 for a in self.chain:
146 self.invoke_addon_sync(a, hooks.DoneHook())
147 self.lookup = {}
148 self.chain = []
149
150 def get(self, name):
151 """

Callers

nothing calls this directly

Calls 1

invoke_addon_syncMethod · 0.95

Tested by

no test coverage detected