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

Method _get_formatted_messages

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

Source from the content-addressed store, hash-verified

179 return f"<WebSocketData ({len(self.messages)} messages)>"
180
181 def _get_formatted_messages(self) -> bytes:
182 return b"\n".join(m._format_ws_message() for m in self.messages)

Callers 3

test_formattingMethod · 0.80
extractFunction · 0.80
rawFunction · 0.80

Calls 2

_format_ws_messageMethod · 0.80
joinMethod · 0.45

Tested by 1

test_formattingMethod · 0.64