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