Hello, I bring this up cause I think it would be a nice feature to have full SOCKS and TOR support for each user since OkHttp supports it. Although I have to admit that adding such a feature may won’t affect much non advanced users.
@rfc2822 I don’t think it there is a mechanism to set these variables globally and force an application to use it except for using a VPN which is a totally different thing.
For the time I fixed it just by adding this line
.proxy(Proxy(Proxy.Type.SOCKS, InetSocketAddress("127.0.0.1", 9050)))
to the OkHttpClient.Builder but this solution affects all the users and it only works if you provide the base URL (TOR doesn’t support UDP yet).