namespace SVSim.BattleNode.Bridge; /// /// DI-injected options for the battle node. NodeServerUrl matches the prod /// do_matching wire format: host:port/socket.io/, no scheme prefix. /// BestHTTP's SocketManager parses it as the Socket.IO v2 endpoint URL. /// public sealed class BattleNodeOptions { public string NodeServerUrl { get; set; } = "localhost:5148/socket.io/"; /// /// How long the first arriver's WS waits for a partner before disconnecting. /// Matches the architecture spec's 60s default; override (typically lower) /// in tests via the factory. /// public TimeSpan WaitingRoomTimeout { get; set; } = TimeSpan.FromSeconds(60); }