mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-10-27 08:27:19 +00:00
17 lines
395 B
C#
17 lines
395 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);
|
|
}
|