mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-09 17:06:19 +00:00
26 lines
701 B
C#
26 lines
701 B
C#
using System;
|
|
using CryptoExchange.Net.Objects;
|
|
|
|
namespace CryptoExchange.Net.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Base class for rest API implementations
|
|
/// </summary>
|
|
public interface IRestClient: IDisposable
|
|
{
|
|
/// <summary>
|
|
/// The factory for creating requests. Used for unit testing
|
|
/// </summary>
|
|
IRequestFactory RequestFactory { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total amount of requests made with this client
|
|
/// </summary>
|
|
int TotalRequestsMade { get; }
|
|
|
|
/// <summary>
|
|
/// The options provided for this client
|
|
/// </summary>
|
|
BaseRestClientOptions ClientOptions { get; }
|
|
}
|
|
} |