Reputation: 1617
Is it possible to see/monitor the data exchange through developer tools of browsers , like chrome already has the developer tools > network > websocket,But it only displays the communication handshake but no data exchange unlike the xhr
Upvotes: 1
Views: 2669
Reputation: 2445
In Chrome, when you go to the "Network" tab in the dev tools and then click on a WebSocket connection, you can view the exchanged data by switching from "Headers" to "Frames" in the displayed WebSocket data.
Upvotes: 3
Reputation: 20095
The Firefox developer tools do currently (version 41.0) not offer a way to inspect WebSocket connections. There's an issue filed for it, though.
The same relates to Firebug. There´s also an issue filed for it.
Upvotes: 1