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

Method _data

mitmproxy/proxy/layer.py:323–329  ·  view source on GitHub ↗
(self, connection: Connection)

Source from the content-addressed store, hash-verified

321 return self._data(self.context.server)
322
323 def _data(self, connection: Connection):
324 data = (
325 e.data
326 for e in self.events
327 if isinstance(e, mevents.DataReceived) and e.connection == connection
328 )
329 return b"".join(data)
330
331
332@dataclass

Callers 2

data_clientMethod · 0.95
data_serverMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected