Page 1 of 1

Proxy ?

Posted: Thu Sep 27, 2018 3:53 pm
by thefunkyjoint
Hello,

Is it possible to configure CEF4 to use a proxy ?

Thanks

Re: Proxy ?

Posted: Thu Sep 27, 2018 5:31 pm
by salvadordf
Yes, you can configure a proxy with these properties :
  • TChromium.ProxyType
  • TChromium.ProxyScheme
  • TChromium.ProxyServer
  • TChromium.ProxyPort
  • TChromium.ProxyUsername
  • TChromium.ProxyPassword
  • TChromium.ProxyScriptURL
  • TChromium.ProxyByPassList
Read this to know how to set those properties correctly :
https://www.chromium.org/administrators ... st-3#Proxy

The MiniBrowser demo has all the code you need. Click the upper-right button and select the Preferences option.

Re: Proxy ?

Posted: Thu Sep 27, 2018 5:42 pm
by thefunkyjoint
Thank you ! :D

Re: Proxy ?

Posted: Thu Oct 11, 2018 1:01 pm
by thefunkyjoint
Hello,

After i set all proxy properties, do i need to restart my app or only a call to TChromiu.UpdatePreferences is enough ?

Re: Proxy ?

Posted: Thu Oct 11, 2018 1:16 pm
by salvadordf
If you want to update the browser preferences as soon as possible then call TChromium.UpdatePreferences but even if you don't call UpdatePreferences the browser will update them the next time you load a web page.