Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ count
Method
count
mitmproxy/addons/serverplayback.py:174–175 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
172
173
@command.command(
"replay.server.count"
)
174
def
count(self) -> int:
175
return
sum(len(i)
for
i in self.flowmap.values())
176
177
def
_hash(self, flow: http.HTTPFlow) -> Hashable:
178
""
"
Callers
5
test_load
Function · 0.95
test_load_with_server_replay_reuse
Function · 0.95
get
Method · 0.45
configure
Method · 0.45
parse_spec
Method · 0.45
Calls
1
values
Method · 0.80
Tested by
2
test_load
Function · 0.76
test_load_with_server_replay_reuse
Function · 0.76