-
-
Save osama-raddad/1a271851b5ce6657a9fc7723b13c324d to your computer and use it in GitHub Desktop.
Proxy okhttp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OkHttpClient client = new OkHttpClient(); | |
Proxy proxy = new Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved("192.168.1.105", 8081); | |
client.setProxy(proxy); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment