关于小提琴如何工作的任何资源/代码?

编程入门 行业动态 更新时间:2024-10-25 17:31:33
本文介绍了关于小提琴如何工作的任何资源/代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要跟踪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的开源代理库 代理库(只是快速谷歌搜索...我没有经验)。

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

更多推荐

关于小提琴如何工作的任何资源/代码?

本文发布于:2023-07-18 08:21:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1142795.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:小提琴   代码   工作   资源

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!