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

Function read

mitmproxy/platform/windows.py:36–40  ·  view source on GitHub ↗
(rfile: BufferedIOBase)

Source from the content-addressed store, hash-verified

34
35
36def read(rfile: BufferedIOBase) -> Any:
37 x = rfile.readline().strip()
38 if not x:
39 return None
40 return json.loads(x)
41
42
43def write(data, wfile: BufferedIOBase) -> None:

Callers 2

original_addrMethod · 0.85
handleMethod · 0.85

Calls 1

loadsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…