Class BinanceApiStreamingClient
Inheritance
System.Object
BinanceApiStreamingClient
Implements
IAsyncDisposable
Namespace: FFT.Binance
Assembly: FFT.Binance.dll
Syntax
public sealed class BinanceApiStreamingClient : AsyncDisposeBase, IAsyncDisposable
Constructors
| Improve this Doc View SourceBinanceApiStreamingClient()
Initializes a new instance of the BinanceApiStreamingClient class. A connection attempt is immediately initiated in a background task.
Declaration
public BinanceApiStreamingClient()
Properties
| Improve this Doc View SourceApiClient
Declaration
public BinanceApiClient ApiClient { get; set; }
Property Value
| Type | Description |
|---|---|
| BinanceApiClient |
Methods
| Improve this Doc View SourceCustomDisposeAsync()
Declaration
protected override ValueTask CustomDisposeAsync()
Returns
| Type | Description |
|---|---|
| ValueTask |
Subscribe(StreamInfo)
Gets a subscription to the given streamInfo.
Declaration
public ValueTask<ISubscription> Subscribe(StreamInfo streamInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamInfo | streamInfo |
Returns
| Type | Description |
|---|---|
| ValueTask<ISubscription> |
Implements
IAsyncDisposable