hrms-api-backend/BMA.EHR.Insignia/Configuration/WebSocketConfiguration.cs

16 lines
No EOL
688 B
C#

namespace BMA.EHR.Insignia.Service.Configuration
{
public class WebSocketConfiguration
{
public const string SectionName = "WebSocket";
public string Url { get; set; } = "https://bma-ehr.frappet.synology.me";
public string Path { get; set; } = "/api/v1/org-socket";
public string DefaultUserId { get; set; } = "4064c2b2-0414-464a-97c6-4a47c325b9a3";
public int ReconnectionDelay { get; set; } = 1000;
public int ReconnectionAttempts { get; set; } = 5;
public int Timeout { get; set; } = 20000;
public bool AutoReconnect { get; set; } = true;
public int TaskDelayOnError { get; set; } = 5000;
}
}