Gdex v0.1.2 Gdex.Websocket.Unsubscribe View Source
Functions to send unsubscribe messages to GDAX.
Link to this section Summary
Link to this section Types
Link to this type
channels()
View Source
channels() :: Gdex.Websocket.channel() | [Gdex.Websocket.channel()]
Link to this section Functions
Link to this function
unsubscribe(gdax, channels, product_ids \\ [])
View Source
unsubscribe(Gdex.Websocket.State.t(), channels(), product_ids()) :: :ok
Unsubscribe from channels
for the given product_ids
.
If products_ids
is empty, unsubscribe from channels
for all subscribed
products.
Link to this function
unsubscribe_raw(gdax, request)
View Source
unsubscribe_raw(Gdex.Websocket.State.t(), Map.t()) :: :ok
Send the request
to gdax
.