Ship authenticated remote transports in Unity package

This commit is contained in:
Meta Vens 2026-08-18 20:09:44 +02:00
commit 99458dbb57
28 changed files with 309 additions and 53 deletions

View file

@ -27,8 +27,8 @@ namespace GameCult.Mesh
public IReadOnlyList<ICultMeshTransportConnector>? Connectors { get; set; }
/// <summary>
/// Gets or sets streaming content connectors. TCP content delivery is used by default;
/// applications may replace it or explicitly add legacy RUDP.
/// Gets or sets streaming content connectors. HTTPS and loopback TCP content
/// delivery are used by default; applications may replace them or explicitly add legacy RUDP.
/// </summary>
public IReadOnlyList<ICultMeshContentTransportConnector>? ContentConnectors { get; set; }
@ -184,6 +184,7 @@ namespace GameCult.Mesh
},
options.ContentConnectors ?? new ICultMeshContentTransportConnector[]
{
new CultMeshHttpsContentTransportConnector(),
new CultMeshTcpContentTransportConnector()
},
options.RealtimeConnectors,