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

11 lines
261 B
C#
Raw Permalink Normal View History

2024-01-18 22:13:40 +00:00
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);
}