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

Method view_flow

mitmproxy/tools/console/consoleaddons.py:347–352  ·  view source on GitHub ↗

View a flow.

(self, flow: flow.Flow)

Source from the content-addressed store, hash-verified

345
346 @command.command("console.view.flow")
347 def view_flow(self, flow: flow.Flow) -> None:
348 """View a flow."""
349 if isinstance(flow, (http.HTTPFlow, tcp.TCPFlow, udp.UDPFlow, dns.DNSFlow)):
350 self.master.switch_view("flowview")
351 else:
352 logger.warning(f"No detail view for {type(flow).__name__}.")
353
354 @command.command("console.exit")
355 def exit(self) -> None:

Callers

nothing calls this directly

Calls 1

switch_viewMethod · 0.80

Tested by

no test coverage detected