Answer the question
In order to leave comments, you need to log in
Awesomium 1.7 + Proxy
How to use Awesomium through a proxy? Who faced, help ...
WebPreferences ds = new WebPreferences();
ds.ProxyConfig = "myproxy:80"; //настройки сессии
using (WebSession session = WebCore.CreateWebSession(ds)) // сессия
{
webControl1.Source = new Uri("http://google.com");
}
Answer the question
In order to leave comments, you need to log in
It seems I figured it out ... Maybe it will come in handy for someone
WebSession session = WebCore.CreateWebSession(new WebPreferences()
{
ProxyConfig = "myproxy:80"
});
webControl1.WebSession = session;
webControl1.Source = new Uri("http://google.com");
I looked with fiddler and it doesn't work either...
Although it should work as described here
...
Only recently I started to deal with Awesomium (and I chose version 1.6), so I can only suggest intercepting requests with the OnRequest method for version 1.7 or for version 1.6: WebControl.ResourceRequest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question