public static OkHttpClient defaultOkHttpClient() {
        OkHttpClient client = new OkHttpClient();
        client.setConnectTimeout(DEFAULT_CONNECT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
        client.setReadTimeout(DEFAULT_READ_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
        client.setWriteTimeout(DEFAULT_READ_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
        // enables certificate pinning
        client.setSslSocketFactory(SSLConfig.getSSLSocketFactory());
        return client;
    }
public static OkHttpClient defaultOkHttpClient ( ) { OkHttpClient client = new OkHttpClient ( ) ; client . setConnectTimeout ( DEFAULT_CONNECT_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) ; client . setReadTimeout ( DEFAULT_READ_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) ; client . setWriteTimeout ( DEFAULT_READ_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) ; client . setSslSocketFactory ( SSLConfig . getSSLSocketFactory ( ) ) ; return client ; }
Returns an {@code OkHttpClient} instance with the default settings for this SDK.