WebSocket monitor can be used to inspect web socket connections on the current page. This extension requires platform API introduced in: Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector
- Install the extension
- Open a browser tab and developer tools toolbox on it (F12)
- Select the
Web Sockets
toolbox panel - Initiate WebSocket connection on the page and exchanges some messages.
- Check out content of the
Web Sockets
panel.
You might want to check out online demo page
- RDP: https://wiki.mozilla.org/Remote_Debugging_Protocol
- Add-on SDK: https://developer.mozilla.org/en-US/Add-ons/SDK
- DevTools API: https://developer.mozilla.org/en-US/docs/Tools/DevToolsAPI
- DevTools/Hacking: https://wiki.mozilla.org/DevTools/Hacking