mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2026-02-16 14:13:46 +00:00
31 lines
768 B
C#
31 lines
768 B
C#
using System;
|
|
using CryptoExchange.Net.Objects.Options;
|
|
|
|
namespace CryptoExchange.Net.Interfaces.Clients
|
|
{
|
|
/// <summary>
|
|
/// Base class for rest API implementations
|
|
/// </summary>
|
|
public interface IRestClient: IDisposable
|
|
{
|
|
/// <summary>
|
|
/// The options provided for this client
|
|
/// </summary>
|
|
ExchangeOptions ClientOptions { get; }
|
|
|
|
/// <summary>
|
|
/// The total amount of requests made with this client
|
|
/// </summary>
|
|
int TotalRequestsMade { get; }
|
|
|
|
/// <summary>
|
|
/// The exchange name
|
|
/// </summary>
|
|
string Exchange { get; }
|
|
|
|
/// <summary>
|
|
/// Whether client is disposed
|
|
/// </summary>
|
|
bool Disposed { get; }
|
|
}
|
|
} |