You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
How can I set OkHttpClient properties with binance-connector-java?
I want to enable pings for WebSocket connections.
OkHttpClient has property pingIntervalMillis, that initialized from OkHttpClient.Builder.
But binance-connector-java calls constructor of OkHttpClient with default Builder.
The text was updated successfully, but these errors were encountered:
Hi @jorkey,
it's currently not possible to change the default settings of OkHttpClient at WebSocketStreamHttpClientSingleton.
We could explore this in the future, but in the meantime to accelerate the investigation and integration, if you already have an idea on the implementation, feel free to open a PR :)
Hello.
How can I set OkHttpClient properties with binance-connector-java?
I want to enable pings for WebSocket connections.
OkHttpClient has property pingIntervalMillis, that initialized from OkHttpClient.Builder.
But binance-connector-java calls constructor of OkHttpClient with default Builder.
The text was updated successfully, but these errors were encountered: