Improve XML documentation coverage across src modules and sync generated analysis artifacts.
This commit is contained in:
@@ -4,10 +4,33 @@ namespace NATS.Server.Imports;
|
||||
|
||||
public sealed class ServiceExport
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets authorization rules controlling which accounts may import this service.
|
||||
/// </summary>
|
||||
public ExportAuth Auth { get; init; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the exporting account that owns this service definition.
|
||||
/// </summary>
|
||||
public Account? Account { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the response mode expected from service responders (singleton or streamed).
|
||||
/// </summary>
|
||||
public ServiceResponseType ResponseType { get; init; } = ServiceResponseType.Singleton;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the threshold used for service latency advisories and slow-response tracking.
|
||||
/// </summary>
|
||||
public TimeSpan ResponseThreshold { get; init; } = TimeSpan.FromMinutes(2);
|
||||
|
||||
/// <summary>
|
||||
/// Gets optional service latency sampling configuration for exported service calls.
|
||||
/// </summary>
|
||||
public ServiceLatency? Latency { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether distributed tracing headers are allowed for this service.
|
||||
/// </summary>
|
||||
public bool AllowTrace { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user