1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-07 16:06:15 +00:00

Small fixes DelayAfterConnect option

This commit is contained in:
Jkorf 2022-12-08 11:02:02 +01:00
parent e13f105019
commit 71072680a8

View File

@ -271,7 +271,7 @@ namespace CryptoExchange.Net.Objects
/// <summary>
/// The time to wait after connecting a socket before sending messages. Can be used for API's which will rate limit if you subscribe directly after connecting.
/// </summary>
public TimeSpan DelayAfterConnect = TimeSpan.Zero;
public TimeSpan DelayAfterConnect { get; set; } = TimeSpan.Zero;
/// <summary>
/// ctor
@ -305,6 +305,7 @@ namespace CryptoExchange.Net.Objects
SocketNoDataTimeout = baseOptions.SocketNoDataTimeout;
SocketSubscriptionsCombineTarget = baseOptions.SocketSubscriptionsCombineTarget;
MaxSocketConnections = baseOptions.MaxSocketConnections;
DelayAfterConnect = baseOptions.DelayAfterConnect;
}
/// <inheritdoc />