FurinaImpact/FurinaImpact.Gameserver/Options/GatewayOptions.cs
2023-12-09 06:45:08 +03:00

12 lines
304 B
C#

using System.Net;
namespace FurinaImpact.Gameserver.Options;
internal record GatewayOptions
{
public const string Section = "Gateway";
public required string Host { get; set; }
public required int Port { get; set; }
public IPEndPoint EndPoint => new(IPAddress.Parse(Host), Port);
}