MCPcopy
hub / github.com/mitmproxy/mitmproxy / add

Method add

mitmproxy/io/io.py:22–24  ·  view source on GitHub ↗
(self, f: flow.Flow)

Source from the content-addressed store, hash-verified

20 self.fo = fo
21
22 def add(self, f: flow.Flow) -> None:
23 d = f.get_state()
24 tnetstring.dump(d, self.fo)
25
26
27class FlowReader:

Callers 12

test_roundtripMethod · 0.95
test_errorMethod · 0.95
tdumpFunction · 0.95
dataFunction · 0.95
tdumpFunction · 0.95
getMethod · 0.95
saveMethod · 0.95
__init__Method · 0.45
create_taskFunction · 0.45
server_eventMethod · 0.45
close_streamMethod · 0.45
exemptMethod · 0.45

Calls 2

get_stateMethod · 0.45
dumpMethod · 0.45

Tested by 5

test_roundtripMethod · 0.76
test_errorMethod · 0.76
tdumpFunction · 0.76
dataFunction · 0.76
tdumpFunction · 0.76