View a flow.
(self, flow: flow.Flow)
| 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: |
nothing calls this directly
no test coverage detected