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

Method to_json

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

Source from the content-addressed store, hash-verified

414 ).strip()
415
416 def to_json(self) -> dict:
417 return {"wireguard_conf": self.client_conf(), **super().to_json()}
418
419
420class LocalRedirectorInstance(ServerInstance[mode_specs.LocalMode]):

Callers

nothing calls this directly

Calls 2

client_confMethod · 0.95
to_jsonMethod · 0.45

Tested by

no test coverage detected