1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-19 09:31:43 +00:00
Files
CryptoExchange.Net/CryptoExchange.Net/SharedApis/Options/EndpointOptions.cs
T
Jan Korf ae7504c26c Shared API's V2 (#289)
Added V2 Shared API's infrastructure
Added request coalescing
Added rate limiting admission logic
Fixed some rate limiting issues
2026-09-23 09:15:39 +02:00

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)
{
}
}
}