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

Method make_top_layer

mitmproxy/proxy/mode_servers.py:499–500  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

497
498class DnsInstance(AsyncioServerInstance[mode_specs.DnsMode]):
499 def make_top_layer(self, context: Context) -> Layer:
500 return layers.DNSLayer(context)
501
502
503class TunInstance(ServerInstance[mode_specs.TunMode]):

Callers 2

test_makeFunction · 0.45
test_local_redirectorFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_makeFunction · 0.36
test_local_redirectorFunction · 0.36