Search code examples
c#httpfiddlertcpclient

Outgoing http requests not showing in Fiddler from tcpClient in C#


I have a TCP-client written in C#, which sends HTTP requests. When I am sending requests I don't see them in Fiddler. When I send similar requests from Http requester I can see all requests. What is the reason?


Solution

  • Fiddler registers itself as the default HTTP proxy. Applications are free to ignore that proxy. Your code needs to cooperate with Fiddler. It needs to find out what proxy is set and use it.

    The built-in HTTP classes in .NET do that.