mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-12-14 18:00:26 +00:00
20 lines
625 B
C#
20 lines
625 B
C#
using CryptoExchange.Net.Clients;
|
|
using CryptoExchange.Net.Interfaces;
|
|
using CryptoExchange.Net.Objects.Sockets;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace CryptoExchange.Net.Sockets.HighPerf
|
|
{
|
|
/// <summary>
|
|
/// Factory for creating connections
|
|
/// </summary>
|
|
public interface IHighPerfConnectionFactory
|
|
{
|
|
/// <summary>
|
|
/// Create a new websocket connection
|
|
/// </summary>
|
|
HighPerfSocketConnection<T> CreateHighPerfConnection<T>(
|
|
ILogger logger, IWebsocketFactory factory, WebSocketParameters parameters, SocketApiClient client, string address);
|
|
}
|
|
}
|