I studied Chain Fiddler to an Upstream Proxy and The Fiddler Proxy, and other materials,
It seems
oSession["X-OverrideGateway"]
could resolve my problem.
Does that mean I can set a after Fiddler proxy for every session?
I will try.
0
Eric Lawrence
Telerik team
answered on 18 Aug 2014, 05:19 PM
Fiddler will automatically adopt the system proxy (IE's Tools > Internet Options > Connections > LAN Settings) as its default when it starts up. To change this behavior, or manually specify a different proxy, inside Fiddler choose Tools > Fiddler Options > Gateway.
As you noted, you can manually set an upstream proxy on a single request using the X-OverrideGateway flag.
You only use URLMonInterop.SetProxyInProcess() when you are running a FiddlerCore based application and want to set only that one application containing FiddlerCore to use the FiddlerCore-based proxy. Stated another way, this API allows a FiddlerCore application to capture traffic from itself without needing to become the system proxy. That API is limited to controlling traffic from WinINET/URLMon. This is primarily useful if you have an application that hosts one or more of the IE WebBrowser controls within itself.
Regards,
Eric Lawrence
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.