How to set proxy in webkit ?
Hi, all In my app based on webkit I want to set a proxy, I know webkit uses the system proxy config as its proxy, but I can not find any API about that, how to get the system proxy info and how to set it ? Is there any sample code I can refer to ? Someone can give me a link ? Thanks for your time. -Andy Best Regards.
On Wed, 8/20/08, Andy <hewanxiang@gmail.com> wrote:
Hi, all In my app based on webkit I want to set a proxy, I know webkit uses the system proxy config as its proxy, but I can not find any API about that, how to get the system proxy info and how to set it ? Is there any sample code I can refer to ? Someone can give me a link ? Thanks for your time.
Assuming you're writing a Mac OS X application, this may help: http://developer.apple.com/documentation/CoreFoundation/Reference/CFProxySup... Dave
Am Thu, 21 Aug 2008 10:11:08 +0800 schrieb Andy <hewanxiang@gmail.com>:
Hi, all In my app based on webkit I want to set a proxy, I know webkit uses the system proxy config as its proxy, but I can not find any API about that, how to get the system proxy info and how to set it ? Is there any sample code I can refer to ? Someone can give me a link ? Thanks for your time.
Not knowing about your platform, on ports that run on unix platforms you should be able to set the "http_proxy" environment variable and Webkit will honor it. ciao, Christian
participants (3)
-
Andy
-
Christian Dywan
-
David Kilzer