(self, path: mitmproxy.types.Path)
| 156 | |
| 157 | @command.command("replay.server.file") |
| 158 | def load_file(self, path: mitmproxy.types.Path) -> None: |
| 159 | try: |
| 160 | flows = io.read_flows_from_paths([path]) |
| 161 | except exceptions.FlowReadException as e: |
| 162 | raise exceptions.CommandError(str(e)) |
| 163 | self.load_flows(flows) |
| 164 | |
| 165 | @command.command("replay.server.stop") |
| 166 | def clear(self) -> None: |