If you wish to only use the proxy with a specific channel instance, then you can use nsIProtocolProxyService to construct a nsIProxyInfo, and then you can pass that to the HTTP implementation of nsIProxiedProtocolHandler.
-Darin On 4/25/06, Kate X <[EMAIL PROTECTED]> wrote: > I want to configure a proxy when sending out http request using > nsIChannel/nsIHttpChannel. > I tried to set the preference string "network.proxy.http" and > "network.proxy.http_port", but it doesn't work. What am I missing? > > Thanks. > > Kate > > > _______________________________________________ > dev-tech-network mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-network > _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
