I'd like to be able to redirect http requests from fiddler code through upstream proxys, which I want to be able to specify at runtime.
I've looked through FiddlerApplication
functions, and I don't see anything that might fit, as well as I haven't found anything matching in the documentation (except that you might specify a startup flag to use system's proxy as upstream proxy).
What is the best way to specify/change fiddler core proxy at runtime?
If you want to send each request to a proxy, and that proxy isn't the system's default: Before each request is sent, specify the X-OverrideGateway flag on the Session. Inside your BeforeRequest handler, add the following line:
oSession["X-OverrideGateway"] = "someProxy:1234";
-Eric