This is a migrated thread and some comments may be shown as answers.

how to differetiate websocketevent for different clients

1 Answer 129 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
frank
Top achievements
Rank 1
frank asked on 19 Jan 2021, 02:33 AM
I am developing a .Net application using FiddlerCore package. I setup a proxy where there are multiple clients(Internet Explorer) running to connect to a same server thru websocket.The proxy program is monitoring all those websocket messages, but is there any way to differetiate the websocket messages belong to which client process? Thank you.

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 20 Jan 2021, 11:40 AM

Hello Frank Chai,

 

 

Thanks for your interest in FIddlerCore and for reaching out to us!

When a WebSocket tunnel is established, you could see the process that has opened the tunnel in one of the FiddlerApplication events while using the current session X-PROCESSINFO property.

 

For example:

FiddlerApplication.AfterSessionComplete += oSession =>
{
    WriteLog(">>> Process info: " + oSession["X-PROCESSINFO"]);
};

You can find more about session flags in this documentation section. Please do let us know if these flags help resolve your specific case or if you need further assistance.


 

 

 

Regards,
Nick Iliev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Fiddler Classic
Asked by
frank
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or