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

Method get_state

mitmproxy/udp.py:22–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 return cls(*state)
21
22 def get_state(self):
23 return self.from_client, self.content, self.timestamp
24
25 def set_state(self, state):
26 self.from_client, self.content, self.timestamp = state

Callers 1

test_copyMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_copyMethod · 0.76