14 lines
405 B
C#
14 lines
405 B
C#
namespace Catalog.Communication;
|
|
|
|
public sealed class CatalogCommunicationOptions
|
|
{
|
|
public required Uri BaseUri { get; set; }
|
|
|
|
public string AdminPageBasePath { get; set; } = "admin/pg";
|
|
|
|
public TimeSpan RequestTimeout { get; set; } = TimeSpan.FromSeconds(30);
|
|
|
|
public int RetryCount { get; set; } = 2;
|
|
|
|
public TimeSpan RetryBaseDelay { get; set; } = TimeSpan.FromMilliseconds(250);
|
|
}
|