FiddlerCore seems to have a ton of functionality around managing http requests including parsing headers, parsing and decoding body content, searching for content within a request, etc. Additionally there's the functionality to replay captured requests.
I'd like to use these features on requests that my web application receives directly, for example via an ASP.NET MVC or Web API controller.
In this scenario, I am am natively capturing the request, so I don't need or want FiddlerCore's proxy functionality. I just want to use the bits of FiddlerCore that manage and manipulate requests.
Can I use the above functionality of FiddlerCore and not enable a proxy?
It sounds like you're asking "How do I run FiddlerCore as a reverse proxy?"
81
instead of80
)FiddlerApplication.Startup
with the original service port (e.g. 80)BeforeRequest
handler, rewrite theport
of inbound requests to point to the target port (e.g.81
).