mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
websocket: show messages in the eventlog
This commit is contained in:
parent
3353aa3cfd
commit
ea97f62975
@ -76,6 +76,7 @@ class WebSocketLayer(base.Layer):
|
||||
|
||||
websocket_message = t(self.flow, not is_server, payload)
|
||||
self.flow.messages.append(websocket_message)
|
||||
self.log("WebSocket message: {}".format(websocket_message.info), "info")
|
||||
self.channel.ask("websocket_message", self.flow)
|
||||
|
||||
# chunk payload into multiple 10kB frames, and send them
|
||||
|
Loading…
Reference in New Issue
Block a user