mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-19 09:31:43 +00:00
ae7504c26c
Added V2 Shared API's infrastructure Added request coalescing Added rate limiting admission logic Fixed some rate limiting issues
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using CryptoExchange.Net.Objects;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Endpoint options
|
|
/// </summary>
|
|
[Obsolete("Use CapabilityOptions instead")]
|
|
public abstract class EndpointOptions : CapabilityOptions
|
|
{
|
|
/// <summary>
|
|
/// Endpoint name
|
|
/// </summary>
|
|
[Obsolete("Use OperationName instead")]
|
|
public string EndpointName
|
|
{
|
|
get => OperationName;
|
|
set => OperationName = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
protected EndpointOptions(
|
|
string exchange,
|
|
string operationName,
|
|
bool needsAuthentication,
|
|
IEnumerable<RequestParameterDescription> defaultParameterRules,
|
|
IEnumerable<TradingMode>? applicableTradingModes = null)
|
|
: base(exchange, operationName, needsAuthentication, defaultParameterRules, applicableTradingModes)
|
|
{
|
|
}
|
|
}
|
|
}
|