跟踪我的应用程序发出的HTTP请求 [英] Tracing outgoing HTTP request from my application

查看:98
本文介绍了跟踪我的应用程序发出的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[^]


这篇关于跟踪我的应用程序发出的HTTP请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆