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

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

The newest version!
package com.binance.connector.client.utils.websocketcallback;

@FunctionalInterface
public interface WebSocketClosingCallback {
    /**
     * onClosing will be called when websocket is informed that no more incoming messages will be transmitted.
     *
     * @param code The code send by server.
     * @param reason The reason send by server.
     */
    void onClosing(int code, String reason);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy