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

Method get_state

mitmproxy/websocket.py:74–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 return cls(*state)
73
74 def get_state(self) -> WebSocketMessageState:
75 return (
76 int(self.type),
77 self.from_client,
78 self.content,
79 self.timestamp,
80 self.dropped,
81 self.injected,
82 )
83
84 def set_state(self, state: WebSocketMessageState) -> None:
85 (

Callers 1

test_basicMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_basicMethod · 0.76