mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
- Update Bootstrap to 5.3.8, add Bootstrap Icons; replace custom SVGs - Fix settings modal: load editing state only when modal opens (avoid refresh overwrite) - Home: StatusSection and LogsSection components with own timers - Move HTTP clients under Client/Http with Abstractions namespace pattern - Rename Options to Configuration; remove empty Options dir - Components: Modals/, Home/; consistent Abstractions (Services, Client.Services, Client.Http)
11 lines
366 B
C#
11 lines
366 B
C#
using DnsmasqWebUI.Models;
|
|
|
|
namespace DnsmasqWebUI.Client.Http.Abstractions;
|
|
|
|
/// <summary>Typed client for GET/PUT api/hosts.</summary>
|
|
public interface IHostsClient
|
|
{
|
|
Task<IReadOnlyList<HostEntry>> GetHostsAsync(CancellationToken ct = default);
|
|
Task<SaveWithReloadResult> SaveHostsAsync(IReadOnlyList<HostEntry> entries, CancellationToken ct = default);
|
|
}
|