MCPcopy
hub / github.com/mitmproxy/mitmproxy / get_by_id

Method get_by_id

mitmproxy/addons/view.py:525–530  ·  view source on GitHub ↗

Get flow with the given id from the store. Returns None if the flow is not found.

(self, flow_id: str)

Source from the content-addressed store, hash-verified

523 self.sig_view_add.send(flow=f)
524
525 def get_by_id(self, flow_id: str) -> mitmproxy.flow.Flow | None:
526 """
527 Get flow with the given id from the store.
528 Returns None if the flow is not found.
529 """
530 return self._store.get(flow_id)
531
532 # View Properties
533 @command.command("view.properties.length")

Callers 10

test_simpleFunction · 0.95
test_flow_deleteMethod · 0.80
test_flow_updateMethod · 0.80
test_flow_duplicateMethod · 0.80
test_flow_revertMethod · 0.80
test_flow_contentMethod · 0.80
flowMethod · 0.80

Calls 1

getMethod · 0.45