Retain native clients across provider routes
This commit is contained in:
parent
3c19e54d91
commit
cb7f9e8fa2
16 changed files with 317 additions and 160 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue