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

Method from_state

mitmproxy/udp.py:19–20  ·  view source on GitHub ↗
(cls, state)

Source from the content-addressed store, hash-verified

17
18 @classmethod
19 def from_state(cls, state):
20 return cls(*state)
21
22 def get_state(self):
23 return self.from_client, self.content, self.timestamp

Callers 1

set_stateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected