Retain native clients across provider routes

This commit is contained in:
Meta Vens 2026-08-18 03:34:59 +02:00
commit cb7f9e8fa2
16 changed files with 317 additions and 160 deletions

View file

@ -38,6 +38,17 @@ namespace GameCult.Networking
where T : ICultNetSchemaMessage;
}
/// <summary>
/// Schema client that connects to one exact advertised URI, including its path.
/// Host/port-only connection is retained for legacy transports; rendezvous and
/// route-aware clients should prefer this contract when available.
/// </summary>
public interface ICultNetUriSchemaClient : ICultNetSchemaClient
{
/// <summary>Connects to the exact advertised schema endpoint.</summary>
Task ConnectAsync(Uri endpoint, CancellationToken cancellationToken = default);
}
/// <summary>
/// Exposes terminal failure of a schema client's background transport work.
/// </summary>