using System.Collections.Generic;
namespace Shadowsocks.Interop.V2Ray.Transport
{
public class WebSocketObject
{
///
/// Gets or sets whether to use PROXY protocol.
///
public bool AcceptProxyProtocol { get; set; }
///
/// Gets or sets the HTTP query path.
///
public string Path { get; set; }
///
/// Gets or sets HTTP header key-value pairs.
///
public Dictionary Headers { get; set; }
public WebSocketObject()
{
AcceptProxyProtocol = false;
Path = "/";
Headers = new();
}
}
}