yanzhenjie / AndServer

:cherries: Web server and web framework of Android platform.
https://yanzhenjie.com/AndServer
Apache License 2.0
3.74k stars 755 forks source link

同IP,不同端口的多个代理可以这样设置吗 #539

Closed binrong closed 6 months ago

binrong commented 6 months ago

Server server = AndServer.proxyServer() .addProxy("www.example1.com:80", "http://192.167.1.11:8080") .addProxy("example2.com:8080", "https://192.167.1.12:9090") .addProxy("55.66.11.11:8081", "http://www.google.com") .timeout(10, TimeUnit.SECONDS) .build();