MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / count

Method count

mitmproxy/addons/clientplayback.py:241–245  ·  view source on GitHub ↗

Approximate number of flows queued for replay.

(self)

Source from the content-addressed store, hash-verified

239
240 @command.command("replay.client.count")
241 def count(self) -> int:
242 """
243 Approximate number of flows queued for replay.
244 """
245 return self.queue.qsize() + int(bool(self.inflight))
246
247 @command.command("replay.client.stop")
248 def stop_replay(self) -> None:

Callers 6

test_playbackFunction · 0.95
test_playback_crashFunction · 0.95
test_start_stopFunction · 0.95
test_loadFunction · 0.95
test_configureFunction · 0.95

Calls

no outgoing calls

Tested by 6

test_playbackFunction · 0.76
test_playback_crashFunction · 0.76
test_start_stopFunction · 0.76
test_loadFunction · 0.76
test_configureFunction · 0.76