Snowflake/RPG.Services.Gateserver/Options/GatewayOptions.cs

10 lines
261 B
C#

using System.Net;
namespace RPG.Services.Gateserver.Options;
internal class GatewayOptions
{
public required string Host { get; set; }
public required int Port { get; set; }
public IPEndPoint BindEndPoint => new(IPAddress.Parse(Host), Port);
}