mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-11 16:32:57 +00:00
Socket client update, added headers to rest result
This commit is contained in:
@@ -52,6 +52,8 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations
|
||||
{
|
||||
Connected = CanConnect;
|
||||
ConnectCalls++;
|
||||
if (CanConnect)
|
||||
InvokeOpen();
|
||||
return Task.FromResult(CanConnect);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations
|
||||
{
|
||||
public class TestSocketClient: SocketClient
|
||||
{
|
||||
public Func<bool> OnReconnect { get; set; }
|
||||
|
||||
public TestSocketClient() : this(new SocketClientOptions())
|
||||
{
|
||||
}
|
||||
@@ -51,7 +49,7 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations
|
||||
|
||||
protected override bool MessageMatchesHandler(JToken message, string identifier)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override Task<CallResult<bool>> AuthenticateSocket(SocketConnection s)
|
||||
|
||||
Reference in New Issue
Block a user