1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-19 20:33:03 +00:00

Small basesocket changes, added total request prop to rest client

This commit is contained in:
JKorf
2019-01-09 11:40:13 +01:00
parent 2b1c77577c
commit b5a80a3095
5 changed files with 17 additions and 4 deletions
@@ -13,6 +13,7 @@ namespace CryptoExchange.Net.Interfaces
event Action OnOpen;
int Id { get; }
string Origin { get; set; }
bool ShouldReconnect { get; set; }
bool Reconnecting { get; set; }
Func<byte[], string> DataInterpreter { get; set; }
@@ -1,9 +1,11 @@
using CryptoExchange.Net.Logging;
using System.Collections.Generic;
using CryptoExchange.Net.Logging;
namespace CryptoExchange.Net.Interfaces
{
public interface IWebsocketFactory
{
IWebsocket CreateWebsocket(Log log, string url);
IWebsocket CreateWebsocket(Log log, string url, IDictionary<string, string> cookies, IDictionary<string, string> headers);
}
}