MCPcopy
hub / github.com/mitmproxy/mitmproxy / broadcast_flow_reset

Method broadcast_flow_reset

mitmproxy/tools/web/app.py:433–437  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

431
432 @classmethod
433 def broadcast_flow_reset(cls) -> None:
434 for conn in cls.connections:
435 conn.send(cls._json_dumps({"type": "flows/reset"}))
436 for name, expr in conn.filters.copy().items():
437 conn.update_filter(name, expr.pattern)
438
439 @classmethod
440 def broadcast_flow(

Callers 1

_sig_view_refreshMethod · 0.80

Calls 5

_json_dumpsMethod · 0.80
update_filterMethod · 0.80
sendMethod · 0.45
itemsMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected