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

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

问题描述

我需要跟踪 http/url 请求 &使用 C# 从 Windows 窗体应用程序重定向.它应该处理 IE &火狐.不确定 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 proxy.这里没有魔法.有关详细信息,请参阅 HTTP 协议.在 IE/Firefox 中,您需要将 Fiddler(或您的自定义程序)设置为代理,然后浏览器将使用它来处理所有传出请求.代理负责将请求转发到正确的服务器,并返回响应.代理通常用于 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天全站免登陆