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

Method from_state

mitmproxy/proxy/mode_specs.py:166–167  ·  view source on GitHub ↗
(cls, state)

Source from the content-addressed store, hash-verified

164
165 @classmethod
166 def from_state(cls, state):
167 return ProxyMode.parse(state)
168
169 def get_state(self):
170 return self.full_spec

Callers 1

streamMethod · 0.45

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected