Catalog/Catalog.Communication/CatalogCommunicationOptions.cs

16 lines
475 B
C#
Raw Normal View History

namespace Catalog.Communication;
public sealed class CatalogCommunicationOptions
{
public required Uri BaseUri { get; set; }
public string AdminPageBasePath { get; set; } = "admin/pg";
public string ReceiveFilePath { get; set; } = "ReceiveFile.abl";
public TimeSpan RequestTimeout { get; set; } = TimeSpan.FromSeconds(30);
public int RetryCount { get; set; } = 2;
public TimeSpan RetryBaseDelay { get; set; } = TimeSpan.FromMilliseconds(250);
}