CoinCapTradesWSClient Members
The CoinCapTradesWSClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
CoinCapTradesWSClient(String, WebSocketOptions) |
Initializes a new instance of the CoinCapTradesWSClient class.
|
![]() |
CoinCapTradesWSClient(String, ILogger<(Of <<'(CoinCapTradesWSClient>)>>)) |
Initializes a new instance of the CoinCapTradesWSClient class.
|
Methods
Name | Description | |
---|---|---|
![]() |
Connect |
Connects this instance to the websocket server.
|
![]() |
Disconnect |
Disconnects this instance from the websocket server.
|
![]() |
Dispose |
Properties
Name | Description | |
---|---|---|
![]() |
CCWebSocket |
Provides access to the underlying WebSocketClient instance.
|
![]() |
InstanceID |
Each class instance is assigned a unique ID which allows you to keep track of multiple instances.
|
Events
Name | Description | |
---|---|---|
![]() |
OnConnectionStateChangedEvent |
Occurs when the connection state changes.
|
![]() |
OnTradeEvent |
Occurs when trade data is received.
|