Robert
Robert

Reputation: 2691

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?

Upvotes: 0

Views: 522

Answers (1)

usr
usr

Reputation: 171178

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.

Upvotes: 1

Related Questions