简体   繁体   English

Flex 3读取浏览器的HTTP代理设置

[英]Flex 3 reads browser http proxy setting

Is there a way to know the proxy setting of web browser under Flex 3, namely actionscript 3? 有没有办法知道Flex 3(即动作脚本3)下Web浏览器的代理设置?

We use socket library to connect remote HTTP server. 我们使用套接字库连接远程HTTP服务器。 It is nice to read web proxy setting to connect to HTTP proxy instead of directly to HTTP server. 最好阅读Web代理设置以连接到HTTP代理,而不是直接连接到HTTP服务器。

The Socket API in Flash Player doesn't use the browser proxy settings. Flash Player中的Socket API不使用浏览器代理设置。 If you use the other networking APIs in Flash Player (URLLoader, NetConnection, etc) then they use the browser networking APIs internally so the proxy settings are preserved. 如果您在Flash Player中使用其他网络API(URLLoader,NetConnection等),则它们在内部使用浏览器网络API,因此保留了代理设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM