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

Method clear

mitmproxy/addons/serverplayback.py:166–171  ·  view source on GitHub ↗

Stop server replay.

(self)

Source from the content-addressed store, hash-verified

164
165 @command.command("replay.server.stop")
166 def clear(self) -> None:
167 """
168 Stop server replay.
169 """
170 self.flowmap = {}
171 ctx.master.addons.trigger(hooks.UpdateHook([]))
172
173 @command.command("replay.server.count")
174 def count(self) -> int:

Callers 1

test_server_playbackFunction · 0.95

Calls 1

triggerMethod · 0.80

Tested by 1

test_server_playbackFunction · 0.76