Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_formatting
Method · 0.80
extract
Function · 0.80
raw
Function · 0.80
Calls
2
_format_ws_message
Method · 0.80
join
Method · 0.45
Tested by
1
test_formatting
Method · 0.64