[progress Communities] [progress Openedge Abl] Forum Post: Re: Fiddler Not Capturing...

  • Thread starter Thread starter tbergman
  • Start date Start date
Status
Not open for further replies.
T

tbergman

Guest
Hi Peter, When you run Fiddler on Windows, it automatically inserts itself as a Proxy in the IE settings. This can be seen in the image below. When you stop Fiddler, it removes itself as a Proxy. The .Net clients use this proxy without me having to do anything at all. I figured out a way to do this using the Progress client but it does require .Net. The code below will automatically detect a proxy and get the Progress client to seamlessly use it. It would be nice if there were a pure Progress way to do this. This works with or without Fiddler running.. oUri in the fragment below is a Progress Uri object and has already been set to the destination host. This works in the sample I’m working with but may not work in any other test or environment. IOW, it’s barely tested, YMMV. Tom oClient = ClientBuilder :Build() :ViaProxy( System.Net.WebRequest:GetSystemWebProxy() :GetProxy( NEW System.Uri(oUri:BaseUri)) :AbsoluteUri) :Client.

Continue reading...
 
Status
Not open for further replies.
Back
Top