mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-04 02:11:11 +00:00
ae7504c26c
Added V2 Shared API's infrastructure Added request coalescing Added rate limiting admission logic Fixed some rate limiting issues
28 lines
796 B
C#
28 lines
796 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Catalog of Shared API capability references.
|
|
/// </summary>
|
|
public static partial class SharedCapabilities
|
|
{
|
|
/// <summary>
|
|
/// Asset capabilities.
|
|
/// </summary>
|
|
public static class Assets
|
|
{
|
|
/// <summary>
|
|
/// Get asset capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetAsset, IGetAssetRest> GetAsset { get; } = new();
|
|
/// <summary>
|
|
/// Get all assets capability.
|
|
/// </summary>
|
|
public static SharedRestCapability<IGetAllAssets, IGetAllAssetsRest> GetAllAssets { get; } = new();
|
|
}
|
|
}
|
|
}
|