关于小提琴如何工作的任何资源/代码? [英] Any resource/codes on how fiddler works?

查看:104
本文介绍了关于小提琴如何工作的任何资源/代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要跟踪http / url请求&使用C#从Windows窗体应用程序重定向。它应该处理IE和& Firefox浏览器。不确定Fiddler是否是开源的,但如果我没有弄错的话,它是用.NET编写的。关于如何收听http / url请求的示例代码或在线文章&重定向将不胜感激。

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 if i'm not mistaken, it's written using .NET. Sample codes or online articles on how to listen to http/url requests & redirects will be appreciated.

谢谢!

推荐答案

Fiddler作为标准HTTP 代理。这里没有魔力。有关详细信息,请参阅HTTP协在IE / Firefox中,您需要将Fiddler(或您的自定义程序)设置为代理,然后浏览器将其用于所有传出请求。 Proxy负责将请求转发到正确的服务器,并返回响应。代理通常用于1)缓存,2)控制访问(和避免防火墙),3)调试。

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.

另请参阅 .Net的开源代理库 .net代理库(只是快速谷歌搜索...我没有经验)。

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

这篇关于关于小提琴如何工作的任何资源/代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆