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

Class LoadHook

mitmproxy/addonmanager.py:121–128  ·  view source on GitHub ↗

Called when an addon is first loaded. This event receives a Loader object, which contains methods for adding options and commands. This method is where the addon configures itself.

Source from the content-addressed store, hash-verified

119
120@dataclass
121class LoadHook(hooks.Hook):
122 """
123 Called when an addon is first loaded. This event receives a Loader
124 object, which contains methods for adding options and commands. This
125 method is where the addon configures itself.
126 """
127
128 loader: Loader
129
130
131class AddonManager:

Callers 1

registerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…