All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.binance.connector.client.utils.websocketcallback.WebSocketFailureCallback Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.binance.connector.client.utils.websocketcallback;

import okhttp3.Response;

@FunctionalInterface
public interface WebSocketFailureCallback {
    /**
     * onFailure will be called when the websocket has been closed and an error has occurred.
     *
     * @param t The exception thrown by server.
     * @param response The associated response.
     */
    void onFailure(Throwable t, Response response);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy