跟踪我的应用程序发出的HTTP请求
问题描述:
我有一个使用C#构建的应用程序SDK,它将接受请求对象/xml,并使用请求中的输入参数生成静态的HTTP URL,并使用在运行时生成的URL进行HTTP GET/POST/PUT.
我想在其顶部创建新的类库,该库应跟踪所有生成的运行时的传出HTTP URL/request/respone.
请给我个主意吗?我想为我的应用程序构建类似fiddler的东西.
谢谢
Sumit
Hi,
I have a application SDK build in C#, which will accept the request object/xml and generate restful HTTP url using input parameter in request and do HTTP GET/POST/PUT using those urls which got generated on run time.
I want to create new class lib on top of it, which should trace all outgoing HTTP urls/request/respone which got generated run time.
Please give me idea for doing this? i want to do build something like fiddler for my application.
Thanks
Sumit
答
完整的代码参考可在以下位置找到: http://www.koders.com/csharp/fidFF1ABA54757D73DB66A0F082D9B4FA822A03E300.aspx?s=nativemethods [ ^ ]
Complete code reference is available at: http://www.koders.com/csharp/fidFF1ABA54757D73DB66A0F082D9B4FA822A03E300.aspx?s=nativemethods[^]