MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / to_json

Method to_json

mitmproxy/proxy/mode_servers.py:523–524  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

521 return None
522
523 def to_json(self) -> dict:
524 return {"tun_name": self.tun_name, **super().to_json()}
525
526 async def _start(self) -> None:
527 assert self._server is None

Callers 5

_sig_servers_changedMethod · 0.45
flow_to_jsonFunction · 0.45
get_jsonMethod · 0.45
to_jsonMethod · 0.45
prettifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected