using Shadowsocks.Interop.V2Ray.Transport.Header; namespace Shadowsocks.Interop.V2Ray.Transport { public class TcpObject { /// /// Gets or sets whether to use PROXY protocol. /// public bool AcceptProxyProtocol { get; set; } /// /// Gets or sets the header options. /// public object Header { get; set; } public TcpObject() { AcceptProxyProtocol = false; Header = new HeaderObject(); } public static TcpObject DefaultHttp => new() { Header = new HttpHeaderObject(), }; } }