com.bybit.api.client.websocket.callback.WebSocketClosedCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bybit-java-api Show documentation
Show all versions of bybit-java-api Show documentation
The Official Java API connector for Bybit's HTTP and WebSocket APIs.
Dive into a plethora of functionalities:
- Market Data Retrieval
- Trade Execution
- Position Management
- Account and Asset Info Retrieval
- User and Upgrade Management
— Public Websocket Streaming
- Private Websocket Streaming
- Lending Institution and Client
- Broker Earning Data
The newest version!
package com.bybit.api.client.websocket.callback;
@FunctionalInterface
public interface WebSocketClosedCallback {
/**
* onclosed will be called when websocket connection has been successfully released. No further calls to this listener will be made.
*
* @param code The code send by server.
* @param reason The reason send by server.
*/
void onClosed(int code, String reason);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy