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

Added orderbook base

This commit is contained in:
Jan Korf
2019-05-13 15:39:42 +02:00
parent 0dedf687d5
commit 2382dbed2d
9 changed files with 363 additions and 13 deletions
@@ -45,7 +45,7 @@ namespace CryptoExchange.Net.Sockets
this.connection = connection;
this.subscription = subscription;
}
/// <summary>
/// Close the subscription
/// </summary>
@@ -54,5 +54,14 @@ namespace CryptoExchange.Net.Sockets
{
await connection.Close(subscription).ConfigureAwait(false);
}
/// <summary>
/// Close the socket to cause a reconnect
/// </summary>
/// <returns></returns>
internal Task Reconnect()
{
return connection.Socket.Close();
}
}
}