MCPcopy
hub / github.com/mitmproxy/mitmproxy / process_flow

Method process_flow

mitmproxy/addons/intercept.py:38–40  ·  view source on GitHub ↗
(self, f: flow.Flow)

Source from the content-addressed store, hash-verified

36 )
37
38 def process_flow(self, f: flow.Flow) -> None:
39 if self.should_intercept(f):
40 f.intercept()
41
42 # Handlers
43

Callers 7

requestMethod · 0.95
responseMethod · 0.95
tcp_messageMethod · 0.95
udp_messageMethod · 0.95
dns_requestMethod · 0.95
dns_responseMethod · 0.95
websocket_messageMethod · 0.95

Calls 2

should_interceptMethod · 0.95
interceptMethod · 0.45

Tested by

no test coverage detected