namespace FastGithub.ReverseProxy
{
    /// 
    /// 表示请求上下文
    /// 
    sealed class RequestContext
    {
        /// 
        /// 获取或设置是否为https请求
        /// 
        public bool IsHttps { get; set; }
        /// 
        /// 请求的主机
        /// 
        public string? Host { get; set; }
        /// 
        /// 获取或设置Sni值的表达式 
        /// 
        public TlsSniPattern TlsSniPattern { get; set; }
        /// 
        /// 是否忽略服务器证书域名不匹配
        /// 
        public bool TlsIgnoreNameMismatch { get; set; }
    }
}