MCPcopy
hub / github.com/mitmproxy/mitmproxy / DataReceived

Class DataReceived

mitmproxy/proxy/events.py:46–55  ·  view source on GitHub ↗

Remote has sent some data.

Source from the content-addressed store, hash-verified

44
45@dataclass
46class DataReceived(ConnectionEvent):
47 """
48 Remote has sent some data.
49 """
50
51 data: bytes
52
53 def __repr__(self):
54 target = type(self.connection).__name__.lower()
55 return f"DataReceived({target}, {self.data!r})"
56
57
58class ConnectionClosed(ConnectionEvent):

Callers 15

receive_dataMethod · 0.90
test_socks5_fuzzFunction · 0.90
test_simpleFunction · 0.90
no_flow_hooksFunction · 0.90
test_upgradeFunction · 0.90
test_upgrade_streamedFunction · 0.90

Calls

no outgoing calls

Tested by 15

receive_dataMethod · 0.72
test_socks5_fuzzFunction · 0.72
test_simpleFunction · 0.72
no_flow_hooksFunction · 0.72
test_upgradeFunction · 0.72
test_upgrade_streamedFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…