You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Shadowsocks.Interop.V2Ray.Transport.Header;
-
- namespace Shadowsocks.Interop.V2Ray.Transport
- {
- public class TcpObject
- {
- /// <summary>
- /// Gets or sets whether to use PROXY protocol.
- /// </summary>
- public bool AcceptProxyProtocol { get; set; }
-
- /// <summary>
- /// Gets or sets the header options.
- /// </summary>
- public object Header { get; set; }
-
- public TcpObject()
- {
- AcceptProxyProtocol = false;
- Header = new HeaderObject();
- }
-
- public static TcpObject DefaultHttp => new()
- {
- Header = new HttpHeaderObject(),
- };
- }
- }
|