1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-12 17:03:10 +00:00

Added missing SetApiCredentials on socket client

This commit is contained in:
Jkorf
2022-03-24 15:47:06 +01:00
parent 3bdb50b1df
commit 41f38e040e
2 changed files with 15 additions and 0 deletions
@@ -1,5 +1,6 @@
using System;
using System.Threading.Tasks;
using CryptoExchange.Net.Authentication;
using CryptoExchange.Net.Objects;
using CryptoExchange.Net.Sockets;
@@ -15,6 +16,12 @@ namespace CryptoExchange.Net.Interfaces
/// </summary>
BaseSocketClientOptions ClientOptions { get; }
/// <summary>
/// Set the API credentials for this client. All Api clients in this client will use the new credentials, regardless of earlier set options.
/// </summary>
/// <param name="credentials">The credentials to set</param>
void SetApiCredentials(ApiCredentials credentials);
/// <summary>
/// Incoming kilobytes per second of data
/// </summary>