Package org.knowm.xchange.kucoin.service
Interface WebsocketAPI
@Path("/api/v1")
@Produces("application/json")
public interface WebsocketAPI
-
Method Summary
Modifier and TypeMethodDescriptiongetPrivateWebsocketDetails
(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiPassphrase) Get connection details (URL + token) for subscribing to private websocket feedsGet connection details (URL + token) for subscribing to public websocket feeds
-
Method Details
-
getPublicWebsocketDetails
@POST @Path("/bullet-public") KucoinResponse<WebsocketResponse> getPublicWebsocketDetails() throws IOExceptionGet connection details (URL + token) for subscribing to public websocket feeds- Throws:
IOException
-
getPrivateWebsocketDetails
@POST @Path("/bullet-private") KucoinResponse<WebsocketResponse> getPrivateWebsocketDetails(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase) throws IOException Get connection details (URL + token) for subscribing to private websocket feeds- Throws:
IOException
-