(self, f: flow.Flow)
| 28 | ctx.options.intercept_active = False |
| 29 | |
| 30 | def should_intercept(self, f: flow.Flow) -> bool: |
| 31 | return bool( |
| 32 | ctx.options.intercept_active |
| 33 | and self.filt |
| 34 | and self.filt(f) |
| 35 | and not f.is_replay |
| 36 | ) |
| 37 | |
| 38 | def process_flow(self, f: flow.Flow) -> None: |
| 39 | if self.should_intercept(f): |