Custom inspector for websocket that relies on previous messages

0 Answers 177 Views
Extensions and Customization Fiddler Classic Windows
Adam
Top achievements
Rank 1
Adam asked on 29 Dec 2021, 09:01 AM
This is basically my first attempt at writing an inspector, and it is for a websocket whose messages are compressed on the transport level, so in order to decompress (for example) message #5, it needs to be decompressed with a compression state that has already been fed messages #1 thru #4. (i.e., it's impossible to inspect any message given just that particular payload's body). I read the IWSMInspector interface is used for inspecting websockets but I see no obvious way to accomplish what I want here. Previously I've just been proxying the websocket through fiddler to a separate little script that handles decompression but I would much rather be able to just have everything contained within fiddler. If it simplifies anything, the messages of concern are only from the server to client direction.

No answers yet. Maybe you can help?

Tags
Extensions and Customization Fiddler Classic Windows
Asked by
Adam
Top achievements
Rank 1
Share this question
or