CoinCapTradesWSClient Members

The CoinCapTradesWSClient type exposes the following members.

Constructors


  Name Description
Public method CoinCapTradesWSClient(String, WebSocketOptions)
Initializes a new instance of the CoinCapTradesWSClient class.
Public method CoinCapTradesWSClient(String, ILogger<(Of <<'(CoinCapTradesWSClient>)>>))
Initializes a new instance of the CoinCapTradesWSClient class.

Methods


  Name Description
Public method Connect
Connects this instance to the websocket server.
Public method Disconnect
Disconnects this instance from the websocket server.
Public method Dispose

Properties


  Name Description
Public property CCWebSocket
Provides access to the underlying WebSocketClient instance.
Public property InstanceID
Each class instance is assigned a unique ID which allows you to keep track of multiple instances.

Events


  Name Description
Public event OnConnectionStateChangedEvent
Occurs when the connection state changes.
Public event OnTradeEvent
Occurs when trade data is received.