1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-07-06 14:16:36 +00:00
2024-04-16 14:55:27 +02:00

18 lines
448 B
C#

using System;
namespace CryptoExchange.Net.Interfaces
{
/// <summary>
/// Client for accessing Websocket API's for different exchanges
/// </summary>
public interface ICryptoSocketClient
{
/// <summary>
/// Try get a client by type for the service collection
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
T TryGet<T>(Func<T> createFunc);
}
}