本文介绍了http webrequest拦截的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何拦截从浏览器发送的httpwebrequest(主要是firefox / IE),然后应用一些代码,然后将其传递回浏览器,以便接收更改后的请求。

-Kevin

How would i go about intercepting a httpwebrequest sent from a browser (firefox/IE mainly) and then applying some code, then pass it through back to the browser for it to receive the altered request.
-Kevin

推荐答案





不,我想避免代理服务器,我试图拦截来自浏览器的httpwebrequest调用,例如,我输入在我的浏览器中,我的程序捕获请求处理它,然后发送httpwebrequest(就好像它是最初发送请求的浏览器。


我试图制定一个计划,b4将时间投入到不合理的事情上。


在此项目中使用VC#w / .NET 2.0。

No, i would like to avoid proxy server, what im trying to do is intercept a httpwebrequest call from a browser for example, i type in www.google.com in my browser and my program catches the request processes it, and then sends the httpwebrequest(as if it were the browser sending the request originally.

I trying to draw out a plan, b4 investing time into to something that isnt rationale.

Using VC# w/ .NET 2.0 for this project.


这篇关于http webrequest拦截的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 09:48