mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-20 00:41:27 +10:00
- Add XML summaries and params to service/client interfaces (IDnsmasqConfigService, IHostsFileService, ILeasesFileService, IReloadService, ILeasesCache, IStatusClient, IConfigSetClient, IReloadClient, IHostsClient, IDhcpHostsClient, ILeasesClient) - Add <param> to Models/Contracts and Dnsmasq/EffectiveConfig records (ConfigSetSnapshot, HostsSnapshot, ManagedConfigContent, SaveWithReloadResult, ReloadResult, DnsmasqConfigSet, DnsmasqConfigSetEntry, LeasesResult, ReadOnlyHostsFile) - Document HostEntry, DhcpHostEntry, LeaseEntry with type and property summaries - Update README codebase overview to reflect refactored layout (Infrastructure/, Models/Config, Models/Contracts, Models/Dnsmasq, etc.)
11 lines
345 B
C#
11 lines
345 B
C#
using DnsmasqWebUI.Models.Dnsmasq;
|
|
|
|
namespace DnsmasqWebUI.Infrastructure.Client.Abstractions;
|
|
|
|
/// <summary>Typed client for GET api/status.</summary>
|
|
public interface IStatusClient
|
|
{
|
|
/// <summary>Gets dnsmasq and config status from GET api/status.</summary>
|
|
Task<DnsmasqServiceStatus> GetStatusAsync(CancellationToken ct = default);
|
|
}
|