mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-12 00:43:03 +00:00
2fb3442800
Initial support for System.Text.Json and some refactoring
26 lines
644 B
C#
26 lines
644 B
C#
using System;
|
|
using CryptoExchange.Net.Objects.Options;
|
|
|
|
namespace CryptoExchange.Net.Interfaces
|
|
{
|
|
/// <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; }
|
|
}
|
|
} |