How do I see the raw HTTP request that the HttpWebRequest class sends?

后端 未结 8 670
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 01:19

I know you are all going to answer \"use a debugging proxy server like Fiddler\" but it\'s not that simple.

Here\'s my situation: I have some code that runs on a ser

8条回答
  •  感情败类
    2020-11-29 01:25

    You can use System.Net tracing mechanism to see the raw HTTP requests sent on the wire. You can also add your own tracelistener to the process.

提交回复
热议问题