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

Function write

mitmproxy/platform/windows.py:43–45  ·  view source on GitHub ↗
(data, wfile: BufferedIOBase)

Source from the content-addressed store, hash-verified

41
42
43def write(data, wfile: BufferedIOBase) -> None:
44 wfile.write(json.dumps(data).encode() + b"\n")
45 wfile.flush()
46
47
48class Resolver:

Callers 4

_rdumpqFunction · 0.85
_connectMethod · 0.85
original_addrMethod · 0.85
handleMethod · 0.85

Calls 4

dumpsMethod · 0.80
writeMethod · 0.45
encodeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…