[haXe] haxe.Http.PROXY
szilagyi levente
szilagyi84 at yahoo.com
Wed Aug 1 09:13:18 CEST 2007
Hi
Yes, it helped!
Thanks for the help
Szilagyi
Glen Blanchard <blanchard.glen+haxe at gmail.com> wrote: Hello,
For automatic detection from Firefox/Internet Explorer when running neko do the following
haxe.Http.PROXY = neko.net.ProxyDetect.detect();
The only issue is that Vista will request confirmation to run regedit if firefox isn't installed and setup with a proxy.
If you want to set it manually adjust the following
haxe.Http.PROXY = {host:"127.0.0.1",port:8888,auth:null};
Hope that helps.
Glen.
On 7/31/07, szilagyi levente <szilagyi84 at yahoo.com> wrote: hi all
can any1 help me how to set a proxy?
i saw that it is a static variable but i simply cat figure out how to set the host or port.
i tried for eg.
try{
haxe.Http.PROXY.host = "80.80.80.80";
}
catch(e:String){
trace("error: "+e);
}
and it compiles without errors, but when i run the app it says invalid field access.
So: i simply dont know how to set the proxy. can any1 pls tell me :)
10x
szilagyi
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
--
haXe - an open source web programming language
http://haxe.org
--
haXe - an open source web programming language
http://haxe.org
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070801/a183673b/attachment.htm
More information about the Haxe
mailing list