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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user