public static OkHttpClient.Builder defaultOkHttpClientBuilder() {
        return new OkHttpClient.Builder()
            .connectTimeout(DEFAULT_CONNECT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)
            .readTimeout(DEFAULT_READ_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)
            .writeTimeout(DEFAULT_READ_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)
            // enables certificate pinning
            .sslSocketFactory(SSLConfig.getSSLSocketFactory(), SSLConfig.getTrustManager());
    }
public static OkHttpClient . Builder defaultOkHttpClientBuilder ( ) { return new OkHttpClient . Builder ( ) . connectTimeout ( DEFAULT_CONNECT_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) . readTimeout ( DEFAULT_READ_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) . writeTimeout ( DEFAULT_READ_TIMEOUT_MILLIS , TimeUnit . MILLISECONDS ) . sslSocketFactory ( SSLConfig . getSSLSocketFactory ( ) , SSLConfig . getTrustManager ( ) ) ; }
Returns an {@code OkHttpClient.Builder} instance with the default settings for this SDK.