Class WebSocketApiModuleFactory
- java.lang.Object
-
- com.bybit.api.client.websocket.impl.WebSocketApiModuleFactory
-
public final class WebSocketApiModuleFactory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebSocketApiModulebuild(Category category, WebSocketApiRequestHandler requestHandler)Build WebSocketApiModule for the given WebSocket API category if it does not exist yet.
-
-
-
Method Detail
-
build
public static WebSocketApiModule build(Category category, WebSocketApiRequestHandler requestHandler)
Build WebSocketApiModule for the given WebSocket API category if it does not exist yet. Otherwise, return the existing one.- Parameters:
category- WebSocket API CategoryrequestHandler- WebSocketApiRequestHandler- Returns:
- WebSocketApiModule
-
-