监测与.NET流入/流出HTTP流量流量、NET、HTTP

2023-09-04 12:27:42 作者:死一样的痛过

我想写一个小的应用程序,可以: 通过Web浏览器请求1.监视URL和/或 在本地机器上2.监控传入的HTTP响应

I want to write a small application that can: 1. monitor URLs requested via a web browser and/or 2. monitor incoming http responses on the local machine

我已经做了一些谷歌搜索,但我没有找到任何明确的答案。我想,也许System.Net.Sockets.TCPListener有了它瞎搞,但我在IM pression,这是不是没有我米寻找什么或不能处理两件事。

I have been doing some Googling, but I am not finding any clear answers. I am thinking maybe System.Net.Sockets.TCPListener and messing around with it, but I am under the impression that it is either not what I"m looking for or can't handle both things.

我并不需要一步的解释详细的步骤。只是一个小的概述将是有益的(如果这甚至有可能),例如(使用什么类,订阅,实例化所需的对象所需的任何额外的细节是什么事件),我可以谷歌的细节。

I don't need a detailed step by step explanation. Just a small overview would be helpful (if this is even possible) such as (what classes to use, what events to subscribe to, any additional details needed to instantiate necessary objects) I can google the details.

推荐答案

为什么不延长提琴手以西装您的需求?

Why not just extend Fiddler to suit your needs?