You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The individual messages inside the Websocket are conceptually equivalent to fetch calls, so that's what really needs to be captured.
The browser API for Websockets is very small. The minimal wrapping for capturing messages would involve patching the window.Websocket constructor, the send method (outgoing messages), and the message flavor of addEventListener (incoming messages).
Also consider tracking connection state/errors by monitoring the close method and the close/error/openaddEventListeners.
Feature request
websocket implementations rely on
window.WebSocket
notwindow.fetch
so our network capture doesn't see or report on websocket requestsif we also patched websockets then we could capture info about them too
to-do
Debug info
The text was updated successfully, but these errors were encountered: