com.binance.connector.client.utils.websocketcallback.WebSocketOpenCallback 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.websocketcallback;
import okhttp3.Response;
@FunctionalInterface
public interface WebSocketOpenCallback {
/**
* onOpen will be called when the websocket has been accepted by server and may begin transmitting messages.
*
* @param response The response send by server.
*/
void onOpen(Response response);
}