namespace FastGithub.ReverseProxy
{
///
/// Sni上下文
///
sealed class SniContext
{
///
/// 获取请求是否为https
///
public bool IsHttps { get; }
///
/// 获取是否发送Sni
///
public bool TlsSni { get; }
///
/// Sni值
///
public string TlsSniValue { get; set; } = string.Empty;
///
/// Sni上下文
///
///
///
public SniContext(bool isHttps, bool tlsSni)
{
this.IsHttps = isHttps;
this.TlsSni = tlsSni;
}
}
}