Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29445

react-native how use OkHttp Proxy.NO_PROXY?

$
0
0
OkHttpClient okHttpClient = new OkHttpClient.Builder()            .proxy(Proxy.NO_PROXY)            .build();Request request = new Request.Builder()        .url("https://stackoverflow.com/questions/ask")                        .build();

How does the above code use react-native fetch api ?

i need use proxy(Proxy.NO_PROXY)


Viewing all articles
Browse latest Browse all 29445

Trending Articles