Any resource/codes on how fiddler works?

前端 未结 2 1885
梦谈多话
梦谈多话 2021-01-17 12:01

I need to track http/url requests & redirects from a windows forms application using C#. It should handle both IE & firefox. Not sure if Fiddler is open-source but i

相关标签:
2条回答
  • 2021-01-17 12:45

    Fiddler works as standard HTTP proxy. There is no magic here. See HTTP protocol for details. In both IE/Firefox, you need to set Fiddler (or your custom program) as proxy, and then browser will use it for all outgoing requests. Proxy is responsible for forwarding request to correct server, and returning response. Proxies are typically used for 1) caching, 2) controlling access (and avoiding firewalls), 3) debugging.

    See also Open Source Proxy Library for .Net for .NET proxy library (just quick googling... I have no experience with it).

    0 讨论(0)
  • 2021-01-17 12:45

    You'd probably be interested in the new FiddlerCore library: http://fiddler.wikidot.com/fiddlercore

    0 讨论(0)
提交回复
热议问题