Closed sla-te closed 1 year ago
Welcome to the Firecamp! Thanks and congrats for opening your very first issue in Firecamp. Join the Discord community here https://discord.gg/8hRaqhK Hope you have a great time here :)
Thank you @chwba I am looking for it now 👍
I have been looking for a solution like this for a long time already, apparently, there is none at all on the market. The only one I know of is HTTP debugger, but this one is also not able to decompress any binary traffic. Then there would be Fiddler but configuring this one for convenient websocket debugging is imo not really worth it, same goes for wireshark (both of these are as well not able to decompress).
This would be how it looks like in the developer tab of Chrome browser for instance:
What we see here are zlib-compressed ws messages, which display all the events, that are currently happening in this opened connection, in this example on
wss://gateway.discord.gg?encoding=json&v=6&compress=zlib-stream
.It would be an enormous timesaver, if there would be a software, able to fetch this opened connection, decompress the zlib stream and show the payloads, as a pretty printed json inside firecamp.
See this example from Discord's docs regarding how to decompress a zlib stream: https://discord.com/developers/docs/topics/gateway#transport-compression-transport-compression-example
As a motivation, most bigger services use compression to reduce traffic load, when in production making debugging of it a real hustle.