com.binance.connector.client.utils.httpclient.WebSocketApiHttpClientSingleton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance-connector-java Show documentation
Show all versions of binance-connector-java Show documentation
lightweight connector to API
package com.binance.connector.client.utils.httpclient;
import okhttp3.OkHttpClient;
public final class WebSocketApiHttpClientSingleton {
private static final OkHttpClient httpClient = new OkHttpClient();
private WebSocketApiHttpClientSingleton() {
}
public static OkHttpClient getHttpClient() {
return httpClient;
}
}