using Akari.Prototype.Server.Utils; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Net; using System.Threading.Tasks; namespace Akari.Prototype.Server.Options { public class TcpProviderOptions { public const string FilePath = "provider.json"; public const string SectionPath = "Provider"; [IPAddress] public string ListeningAddress { get; set; } = "0.0.0.0"; [Range(ushort.MinValue, ushort.MaxValue)] public int Port { get; set; } = 1892; } }